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 22, 2025 20:30vahookvahookScore: 4,215Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 20:344,18440,301,91013,390,00002,486,272
2Apr 22, 2025 20:294,18533,627,76413,393,00002,531,328
3Apr 22, 2025 20:294,18531,965,12013,393,00002,490,368
4Apr 22, 2025 20:294,18734,071,51413,399,00002,490,368
5Apr 22, 2025 23:084,18739,247,00513,398,00002,498,560
6Apr 22, 2025 20:344,19024,997,76713,407,00002,531,328
7Apr 22, 2025 20:294,19332,310,24013,418,00002,494,464
8Apr 22, 2025 20:294,19425,776,53413,422,00002,273,280
9Apr 22, 2025 20:304,19439,292,22913,420,00002,494,464
10Apr 22, 2025 23:084,20125,768,64613,442,00002,494,464
11Apr 22, 2025 20:304,20230,143,45013,445,00002,490,368
12Apr 22, 2025 20:344,20732,840,94813,462,00002,494,464
13Apr 22, 2025 23:084,21232,223,30013,477,00002,494,464
14Apr 22, 2025 20:294,21529,435,45713,487,00002,273,280
15Apr 22, 2025 20:304,22029,227,42013,505,00002,498,560
16Apr 22, 2025 20:344,22327,327,60413,513,00002,269,184
17Apr 22, 2025 20:304,22530,951,45113,519,00002,531,328
18Apr 22, 2025 20:294,22525,392,55713,519,00002,531,328
19Apr 22, 2025 20:344,22830,229,76113,530,00002,273,280
20Apr 22, 2025 23:084,22829,176,13513,529,00002,494,464
21Apr 22, 2025 23:084,23135,228,15113,538,00002,273,280
22Apr 22, 2025 20:294,23931,282,23013,565,00002,273,280
23Apr 22, 2025 23:084,24130,129,56713,571,00002,494,464
24Apr 22, 2025 20:304,24727,092,53113,591,00002,498,560
25Apr 22, 2025 20:344,24828,986,90013,592,00002,273,280
26Apr 22, 2025 20:294,25626,899,72313,618,00002,265,088
27Apr 22, 2025 20:304,25740,741,99013,622,00002,502,656