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:32Rajarshi BasuRajarshi BasuScore: 4,366Success
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:324,34033,332,00911,905,0001,984,0002,404,352
2Jan 6, 2026 09:324,34535,746,90012,912,000993,0002,396,160
3Jan 6, 2026 09:314,34634,223,71811,920,0001,986,0002,396,160
4Jan 6, 2026 09:314,35031,150,88613,920,00002,277,376
5Jan 6, 2026 09:314,35330,680,18711,939,0001,989,0002,277,376
6Jan 6, 2026 09:324,35541,691,63612,942,000995,0002,277,376
7Jan 6, 2026 09:324,35829,354,11711,954,0001,992,0002,400,256
8Jan 6, 2026 09:324,35834,494,28012,951,000996,0002,277,376
9Jan 6, 2026 09:324,36026,041,50412,956,000996,0002,277,376
10Jan 6, 2026 09:324,36434,816,60812,969,000997,0002,396,160
11Jan 6, 2026 09:314,36629,577,16311,975,0001,995,0002,400,256
12Jan 6, 2026 09:314,36829,678,33011,982,0001,997,0002,396,160
13Jan 6, 2026 09:324,37340,837,59512,996,000999,0002,396,160
14Jan 6, 2026 09:314,37533,346,07313,001,0001,000,0002,392,064
15Jan 6, 2026 09:314,37644,773,43313,004,0001,000,0002,277,376
16Jan 6, 2026 09:324,37832,222,54413,010,0001,000,0002,400,256
17Jan 6, 2026 09:324,37838,834,71513,011,0001,000,0002,400,256
18Jan 6, 2026 09:314,38031,427,21412,015,0002,002,0002,400,256
19Jan 6, 2026 09:324,38033,238,78713,014,0001,001,0002,277,376
20Jan 6, 2026 09:324,38538,712,46513,031,0001,002,0002,396,160
21Jan 6, 2026 09:314,38933,527,37812,039,0002,006,0002,277,376