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 listJul 16, 2025 07:35Valentin KofmanValentin KofmanScore: 4,755Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2025 07:354,71633,652,59913,078,0002,012,0002,396,160
2Jul 16, 2025 07:354,74337,836,65214,166,0001,011,0002,400,256
3Jul 16, 2025 07:354,74832,021,44014,180,0001,012,0002,273,280
4Jul 16, 2025 07:354,75236,767,51713,178,0002,027,0002,273,280
5Jul 16, 2025 07:354,75539,862,03814,201,0001,014,0002,400,256
6Jul 16, 2025 07:354,76331,057,92413,210,0002,032,0002,400,256
7Jul 16, 2025 07:354,77238,301,26313,234,0002,036,0002,273,280
8Jul 16, 2025 07:354,77332,515,77813,237,0002,036,0002,273,280
9Jul 16, 2025 07:354,81935,599,17515,420,00002,392,064