Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 20, 2021 18:57Andrey TsvetkovAndrey TsvetkovScore: 6,008Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 18:575,96844,903,79717,086,0002,010,0002,330,624
2Jun 20, 2021 18:575,97044,041,63016,087,0003,016,0002,392,064
3Jun 20, 2021 18:575,97245,161,16517,098,0002,011,0002,330,624
4Jun 20, 2021 18:575,97244,768,90917,100,0002,011,0002,527,232
5Jun 20, 2021 18:576,00242,216,04616,175,0003,032,0002,523,136
6Jun 20, 2021 18:576,00344,391,53017,189,0002,022,0002,334,720
7Jun 20, 2021 18:576,00842,245,59817,203,0002,023,0002,326,528
8Jun 20, 2021 18:576,01744,867,38817,227,0002,026,0002,334,720
9Jun 20, 2021 18:576,02243,039,39817,243,0002,028,0002,527,232
10Jun 20, 2021 18:576,02587,633,23219,279,66502,240,512
11Jun 20, 2021 18:576,02764,938,60419,285,73202,232,320
12Jun 20, 2021 18:576,18188,074,24719,778,92002,232,320