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 10:39olliecrowolliecrowScore: 4,343Success
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 10:394,33428,752,29313,868,00002,502,656
2Mar 28, 2026 10:384,33734,965,66112,888,000991,0002,494,464
3Mar 28, 2026 10:384,33829,962,27412,891,000991,0002,486,272
4Mar 28, 2026 10:384,33927,801,99212,895,000991,0002,490,368
5Mar 28, 2026 10:384,33930,611,91412,894,000991,0002,494,464
6Mar 28, 2026 10:384,33930,669,50512,894,000991,0002,494,464
7Mar 28, 2026 10:394,33944,322,96512,895,000991,0002,498,560
8Mar 28, 2026 10:384,34332,422,61713,897,00002,490,368
9Mar 28, 2026 10:394,34340,654,36711,913,0001,985,0002,502,656
10Mar 28, 2026 10:394,34327,663,25612,906,000992,0002,498,560
11Mar 28, 2026 10:394,34728,749,33011,922,0001,987,0002,277,376
12Mar 28, 2026 10:394,35735,363,37312,947,000995,0002,502,656
13Mar 28, 2026 10:394,35928,794,60812,952,000996,0002,498,560
14Mar 28, 2026 10:394,36229,104,80811,965,0001,994,0002,277,376
15Mar 28, 2026 10:394,37029,556,19412,986,000998,0002,494,464