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 15, 2024 18:31ii14ii14Score: 5,840Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 18:315,79644,983,54118,548,00002,519,040
2Jun 15, 2024 18:315,80944,472,95817,558,0001,032,0002,519,040
3Jun 15, 2024 18:315,81641,728,70317,577,0001,033,0002,260,992
4Jun 15, 2024 18:315,81936,982,33318,620,00002,260,992
5Jun 15, 2024 18:315,82149,626,64517,594,0001,034,0002,392,064
6Jun 15, 2024 18:315,82844,366,10617,612,0001,036,0002,482,176
7Jun 15, 2024 18:315,84048,365,43117,651,0001,038,0002,387,968
8Jun 15, 2024 18:315,84248,683,47918,695,00002,519,040
9Jun 15, 2024 18:315,94144,824,66717,011,0002,001,0002,265,088
10Jun 15, 2024 18:316,10778,993,27419,540,95402,285,568
11Jun 15, 2024 18:316,10774,241,34919,542,20202,285,568
12Jun 15, 2024 18:316,10976,157,79919,549,60702,277,376