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 listMar 28, 2026 11:28olliecrowolliecrowScore: 4,484Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 28, 2026 11:294,46627,860,76514,290,00002,498,560
2Mar 28, 2026 11:284,46936,452,80214,300,00002,494,464
3Mar 28, 2026 11:304,46931,597,22614,300,00002,494,464
4Mar 28, 2026 11:274,47032,836,04914,305,00002,482,176
5Mar 28, 2026 11:294,48030,259,23714,336,00002,490,368
6Mar 28, 2026 11:274,48137,303,18914,339,00002,494,464
7Mar 28, 2026 11:294,48243,952,77414,341,00002,277,376
8Mar 28, 2026 11:304,48433,070,41014,348,00002,498,560
9Mar 28, 2026 11:294,49031,002,14814,367,00002,277,376
10Mar 28, 2026 11:284,49432,056,77714,381,00002,494,464
11Mar 28, 2026 11:274,49751,205,12714,391,00002,494,464
12Mar 28, 2026 11:284,50034,340,06313,373,0001,028,0002,277,376
13Mar 28, 2026 11:294,50330,921,80014,408,00002,494,464
14Mar 28, 2026 11:304,50837,240,33814,426,00002,277,376
15Mar 28, 2026 11:294,51331,295,03214,443,00002,277,376