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:50olliecrowolliecrowScore: 4,428Success
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:514,39534,814,54613,061,0001,004,0002,498,560
2Mar 28, 2026 10:514,40833,998,73313,097,0001,007,0002,490,368
3Mar 28, 2026 10:514,41326,455,19313,115,0001,008,0002,498,560
4Mar 28, 2026 10:514,41730,312,38713,125,0001,009,0002,506,752
5Mar 28, 2026 10:524,42038,050,89513,135,0001,010,0002,277,376
6Mar 28, 2026 10:514,42527,956,29213,150,0001,011,0002,498,560
7Mar 28, 2026 10:514,42731,661,56313,155,0001,011,0002,490,368
8Mar 28, 2026 10:504,42837,369,48613,156,0001,012,0002,277,376
9Mar 28, 2026 10:524,42931,803,43513,161,0001,012,0002,490,368
10Mar 28, 2026 10:524,43130,087,57513,167,0001,012,0002,498,560
11Mar 28, 2026 10:514,43731,392,15213,183,0001,014,0002,535,424
12Mar 28, 2026 10:514,43829,982,83913,188,0001,014,0002,498,560
13Mar 28, 2026 10:514,43932,054,57213,191,0001,014,0002,277,376
14Mar 28, 2026 10:504,44230,188,93913,200,0001,015,0002,277,376
15Mar 28, 2026 10:504,45230,055,20614,246,00002,277,376