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 listDec 22, 2025 19:39jhallgreenjhallgreenScore: 4,467Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2025 19:384,44444,061,67412,190,0002,031,0002,273,280
2Dec 22, 2025 19:394,44738,231,46812,197,0002,032,0002,392,064
3Dec 22, 2025 19:394,44836,966,84612,200,0002,033,0002,404,352
4Dec 22, 2025 19:394,45131,419,92112,209,0002,034,0002,396,160
5Dec 22, 2025 19:384,45231,601,81714,247,00002,396,160
6Dec 22, 2025 19:384,46236,122,81612,239,0002,039,0002,273,280
7Dec 22, 2025 19:394,46730,934,45113,273,0001,021,0002,396,160
8Dec 22, 2025 19:394,46745,417,62913,274,0001,021,0002,273,280
9Dec 22, 2025 19:394,47633,510,14713,301,0001,023,0002,273,280
10Dec 22, 2025 19:394,47929,339,89114,333,00002,510,848
11Dec 22, 2025 19:394,48133,307,55514,338,00002,273,280
12Dec 22, 2025 19:394,48435,728,94814,349,00002,396,160