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 listJan 6, 2026 05:07Rajarshi BasuRajarshi BasuScore: 4,483Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2026 05:074,44135,291,34213,197,0001,015,0002,404,352
2Jan 6, 2026 05:084,45432,708,45012,218,0002,036,0002,277,376
3Jan 6, 2026 05:084,46630,786,00413,272,0001,020,0002,396,160
4Jan 6, 2026 05:084,46633,854,73313,270,0001,020,0002,277,376
5Jan 6, 2026 05:074,46731,083,93012,253,0002,042,0002,519,040
6Jan 6, 2026 05:074,47229,994,96612,265,0002,044,0002,277,376
7Jan 6, 2026 05:084,47238,296,82113,288,0001,022,0002,392,064
8Jan 6, 2026 05:084,47331,415,10613,290,0001,022,0002,277,376
9Jan 6, 2026 05:084,48231,526,78613,319,0001,024,0002,392,064
10Jan 6, 2026 05:074,48337,289,76513,320,0001,024,0002,277,376
11Jan 6, 2026 05:074,49142,859,83714,371,00002,404,352
12Jan 6, 2026 05:074,49931,343,41813,369,0001,028,0002,277,376
13Jan 6, 2026 05:074,50134,619,13313,375,0001,028,0002,408,448
14Jan 6, 2026 05:074,51338,925,25414,443,00002,400,256
15Jan 6, 2026 05:084,52141,899,75913,434,0001,033,0002,277,376
16Jan 6, 2026 05:074,52441,403,43013,443,0001,034,0002,400,256
17Jan 6, 2026 05:084,54833,000,29514,553,00002,277,376
18Jan 6, 2026 05:084,55832,454,30512,641,0001,944,0002,277,376