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 2, 2025 22:26zielajzielajScore: 4,137Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 2, 2025 22:264,10927,563,07412,137,0001,011,0002,527,232
2May 2, 2025 22:264,12833,784,41012,195,0001,016,0002,265,088
3May 2, 2025 22:264,12826,774,83912,193,0001,016,0002,265,088
4May 2, 2025 22:264,12829,704,01612,195,0001,016,0002,265,088
5May 2, 2025 22:264,13329,720,30612,207,0001,017,0002,527,232
6May 2, 2025 22:264,13738,615,34313,237,00002,486,272
7May 2, 2025 22:264,13734,779,10412,221,0001,018,0002,527,232
8May 2, 2025 22:264,14027,736,93713,247,00002,494,464
9May 2, 2025 22:264,14129,286,37113,250,00002,490,368
10May 2, 2025 22:264,15740,311,03612,279,0001,023,0002,494,464
11May 2, 2025 22:264,15937,642,96912,286,0001,023,0002,265,088
12May 2, 2025 22:264,16538,739,47213,329,00002,527,232