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 listMay 26, 2025 05:35E SequeiraE SequeiraScore: 4,682Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2025 05:354,64730,532,70813,878,000991,0002,269,184
2May 26, 2025 05:354,65032,161,52513,888,000992,0002,273,280
3May 26, 2025 05:354,66341,955,72512,933,0001,989,0002,285,568
4May 26, 2025 05:354,67135,782,98312,954,0001,993,0002,519,040
5May 26, 2025 05:354,68230,737,14912,985,0001,997,0002,285,568
6May 26, 2025 05:354,68830,749,47013,000,0002,000,0002,285,568
7May 26, 2025 05:354,69337,682,99113,015,0002,002,0002,285,568
8May 26, 2025 05:354,69636,406,98713,024,0002,003,0002,281,472
9May 26, 2025 05:354,72436,721,40413,103,0002,015,0002,285,568