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 09:37Rajarshi BasuRajarshi BasuScore: 4,368Success
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 09:374,35328,602,42212,936,000995,0002,404,352
2Jan 6, 2026 09:374,35531,335,68312,940,000995,0002,277,376
3Jan 6, 2026 09:374,35732,765,40812,947,000995,0002,277,376
4Jan 6, 2026 09:374,36036,880,02111,958,0001,993,0002,396,160
5Jan 6, 2026 09:374,36035,090,39611,960,0001,993,0002,404,352
6Jan 6, 2026 09:374,36134,722,81512,960,000996,0002,396,160
7Jan 6, 2026 09:374,36533,202,97012,972,000997,0002,277,376
8Jan 6, 2026 09:374,36828,648,11812,980,000998,0002,277,376
9Jan 6, 2026 09:374,37533,065,05213,000,0001,000,0002,277,376
10Jan 6, 2026 09:374,37629,534,27012,004,0002,000,0002,277,376
11Jan 6, 2026 09:374,37840,016,99713,010,0001,000,0002,400,256
12Jan 6, 2026 09:374,37930,455,87612,011,0002,001,0002,277,376
13Jan 6, 2026 09:374,38233,587,29012,020,0002,003,0002,392,064
14Jan 6, 2026 09:374,38531,822,30713,031,0001,002,0002,396,160
15Jan 6, 2026 09:374,39029,721,75813,045,0001,003,0002,400,256