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 listMar 28, 2026 11:22olliecrowolliecrowScore: 10,440Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 28, 2026 11:2110,35655,508,0291,004,00032,135,0002,469,888
2Mar 28, 2026 11:2210,39756,459,1127,057,00026,212,0002,473,984
3Mar 28, 2026 11:2210,41655,787,8659,090,00024,241,0002,486,272
4Mar 28, 2026 11:2110,42259,625,45910,106,00023,244,0002,277,376
5Mar 28, 2026 11:2210,42365,312,2029,096,00024,258,0002,473,984
6Mar 28, 2026 11:2210,42451,884,8725,054,00028,304,0002,535,424
7Mar 28, 2026 11:2210,42660,325,2546,066,00027,297,0002,465,792
8Mar 28, 2026 11:2110,44052,801,8044,049,00029,359,0002,473,984
9Mar 28, 2026 11:2110,44951,730,4795,066,00028,371,0002,277,376
10Mar 28, 2026 11:2110,46054,418,1104,057,00029,415,0002,277,376
11Mar 28, 2026 11:2210,46356,205,8327,102,00026,381,0002,478,080
12Mar 28, 2026 11:2210,48151,327,06612,196,00021,343,0002,473,984
13Mar 28, 2026 11:2210,48857,595,6668,136,00025,426,0002,265,088
14Mar 28, 2026 11:2110,51558,085,0296,118,00027,531,0002,465,792
15Mar 28, 2026 11:2210,57862,303,9844,978,00028,872,0002,277,376