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 5, 2026 21:22olliecrowolliecrowScore: 4,352Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 5, 2026 21:224,33936,125,16212,894,000991,0002,494,464
2Mar 5, 2026 21:224,34029,846,47412,896,000992,0002,494,464
3Mar 5, 2026 21:084,34431,566,03013,901,00002,273,280
4Mar 5, 2026 21:224,34531,299,50112,910,000993,0002,535,424
5Mar 5, 2026 21:224,34831,603,32712,920,000993,0002,498,560
6Mar 5, 2026 21:084,35139,799,12912,929,000994,0002,502,656
7Mar 5, 2026 21:084,35231,241,00712,933,000994,0002,535,424
8Mar 5, 2026 21:224,35531,948,02812,940,000995,0002,535,424
9Mar 5, 2026 21:224,35832,609,04912,951,000996,0002,498,560
10Mar 5, 2026 21:224,36129,368,60312,959,000996,0002,535,424
11Mar 5, 2026 21:224,36437,013,80212,968,000997,0002,502,656
12Mar 5, 2026 21:224,37227,510,31812,992,000999,0002,535,424