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 10:42olliecrowolliecrowScore: 5,313Success
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 10:435,27443,743,72215,885,000992,0002,490,368
2Mar 28, 2026 10:435,27539,067,94015,888,000993,0002,498,560
3Mar 28, 2026 10:435,29141,575,15014,939,0001,991,0002,502,656
4Mar 28, 2026 10:435,29130,387,13314,939,0001,991,0002,531,328
5Mar 28, 2026 10:435,29339,996,51414,946,0001,992,0002,506,752
6Mar 28, 2026 10:435,29840,913,36614,958,0001,994,0002,531,328
7Mar 28, 2026 10:435,30442,681,57414,977,0001,996,0002,498,560
8Mar 28, 2026 10:435,31341,534,13115,002,0002,000,0002,494,464
9Mar 28, 2026 10:435,31341,475,64516,002,0001,000,0002,494,464
10Mar 28, 2026 10:435,31541,155,03516,009,0001,000,0002,494,464
11Mar 28, 2026 10:435,32344,831,33015,031,0002,004,0002,531,328
12Mar 28, 2026 10:435,32540,181,58916,037,0001,002,0002,269,184
13Mar 28, 2026 10:425,37741,756,13516,194,0001,012,0002,494,464
14Mar 28, 2026 10:425,44845,609,27816,408,0001,025,0002,265,088
15Mar 28, 2026 10:425,45845,373,23016,438,0001,027,0002,494,464