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, 2024 20:58vientvientScore: 6,323Success
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, 2024 20:586,28390,402,55720,106,51302,195,456
2Jul 26, 2024 20:596,29589,928,64020,144,43302,191,360
3Jul 26, 2024 20:586,300101,565,12020,161,11702,191,360
4Jul 26, 2024 20:596,31197,859,22420,196,00102,199,552
5Jul 26, 2024 20:586,32389,778,49920,233,09502,203,648
6Jul 26, 2024 20:586,33363,530,81620,264,10802,199,552
7Jul 26, 2024 20:596,37587,509,52420,401,08502,207,744
8Jul 26, 2024 20:586,398117,753,24920,473,91602,256,896
9Jul 26, 2024 20:586,49993,973,98320,796,53302,195,456