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 26, 2026 10:18Kevin HeaveyKevin HeaveyScore: 4,117Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2026 10:294,0763,025,021,76112,045,0001,001,0002,113,536
2Jul 26, 2026 10:294,1073,024,971,06012,068,0001,076,0002,113,536
3Jul 26, 2026 10:294,1113,025,191,55812,124,0001,032,0002,113,536
4Jul 26, 2026 10:294,1123,024,996,25412,132,0001,029,0002,113,536
5Jul 26, 2026 10:294,1173,024,852,89212,131,0001,046,0002,113,536
6Jul 26, 2026 10:294,1253,025,281,19112,116,0001,085,0002,113,536
7Jul 26, 2026 10:294,1343,025,018,44212,145,0001,084,0002,113,536
8Jul 26, 2026 10:294,1373,025,030,40312,160,0001,081,0002,113,536
9Jul 26, 2026 10:294,1463,025,134,04812,191,0001,077,0002,113,536