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,376Success
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:364,35232,190,32612,932,000994,0002,277,376
2Jan 6, 2026 09:364,35732,575,40512,946,000995,0002,396,160
3Jan 6, 2026 09:364,35832,302,26712,948,000996,0002,404,352
4Jan 6, 2026 09:374,36141,263,14712,958,000996,0002,277,376
5Jan 6, 2026 09:364,36634,084,98911,976,0001,996,0002,277,376
6Jan 6, 2026 09:374,36636,119,88912,974,000998,0002,277,376
7Jan 6, 2026 09:364,36730,609,55211,977,0001,996,0002,400,256
8Jan 6, 2026 09:364,36831,592,45812,979,000998,0002,277,376
9Jan 6, 2026 09:374,37229,005,41412,991,000999,0002,277,376
10Jan 6, 2026 09:364,37632,040,81413,003,0001,000,0002,392,064
11Jan 6, 2026 09:364,38130,920,81812,017,0002,002,0002,277,376
12Jan 6, 2026 09:374,38235,519,80113,021,0001,001,0002,277,376
13Jan 6, 2026 09:374,38331,046,98312,023,0002,003,0002,396,160
14Jan 6, 2026 09:374,38332,183,37012,022,0002,003,0002,277,376
15Jan 6, 2026 09:364,40131,668,52013,078,0001,006,0002,277,376
16Jan 6, 2026 09:374,40237,982,09313,081,0001,006,0002,404,352
17Jan 6, 2026 09:374,43939,237,36612,176,0002,029,0002,277,376
18Jan 6, 2026 09:374,51432,531,09513,415,0001,031,0002,396,160