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 listApr 10, 2024 23:18emily graceemily graceScore: 5,534Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 23:185,52190,964,13417,668,13802,260,992
2Apr 10, 2024 23:185,524109,483,00717,676,55402,260,992
3Apr 10, 2024 23:185,52982,556,60017,694,07402,265,088
4Apr 10, 2024 23:185,52961,852,38317,691,21202,269,184
5Apr 23, 2024 15:385,53491,371,66817,707,30602,256,896
6Apr 10, 2024 23:185,55288,393,42617,765,01202,277,376
7Apr 10, 2024 23:185,55668,322,51717,779,55802,269,184
8Apr 23, 2024 15:385,56686,944,50617,809,92602,260,992
9Apr 23, 2024 15:385,59688,287,28717,906,58902,265,088