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:39Rajarshi BasuRajarshi BasuScore: 4,361Success
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:384,34437,697,84911,915,0001,985,0002,404,352
2Jan 6, 2026 09:394,34430,836,92411,915,0001,985,0002,277,376
3Jan 6, 2026 09:394,34939,674,04412,924,000994,0002,277,376
4Jan 6, 2026 09:394,34934,030,14011,929,0001,988,0002,281,472
5Jan 6, 2026 09:384,35032,311,46812,925,000994,0002,277,376
6Jan 6, 2026 09:394,35429,758,28712,938,000995,0002,277,376
7Jan 6, 2026 09:384,35834,121,72211,952,0001,992,0002,277,376
8Jan 6, 2026 09:394,35837,215,43011,952,0001,992,0002,277,376
9Jan 6, 2026 09:384,36037,195,81611,959,0001,993,0002,277,376
10Jan 6, 2026 09:394,36130,921,74412,960,000996,0002,277,376
11Jan 6, 2026 09:394,36429,801,06312,968,000997,0002,400,256
12Jan 6, 2026 09:394,36634,855,93312,973,000997,0002,396,160
13Jan 6, 2026 09:394,36930,130,46411,985,0001,997,0002,277,376
14Jan 6, 2026 09:394,36935,444,05911,985,0001,997,0002,277,376
15Jan 6, 2026 09:384,37531,005,14612,000,0002,000,0002,277,376
16Jan 6, 2026 09:384,37636,990,57312,004,0002,000,0002,523,136
17Jan 6, 2026 09:394,37938,913,04913,013,0001,001,0002,277,376
18Jan 6, 2026 09:394,38331,278,65512,023,0002,003,0002,396,160