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 16, 2023 00:23Alexander MonakovAlexander MonakovScore: 5,193Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 00:235,15838,735,15515,474,0001,031,0002,281,472
2Mar 16, 2023 00:235,16435,204,04015,494,0001,032,0002,465,792
3Mar 16, 2023 00:235,16533,929,44315,496,0001,033,0002,449,408
4Mar 16, 2023 00:235,17438,852,84415,522,0001,034,0002,281,472
5Mar 16, 2023 00:235,17634,508,12815,527,0001,035,0002,281,472
6Mar 16, 2023 00:235,18940,222,19915,569,0001,037,0002,281,472
7Mar 16, 2023 00:235,19338,629,45915,578,0001,038,0002,449,408
8Mar 16, 2023 00:235,20541,362,53715,615,0001,041,0002,281,472
9Mar 16, 2023 00:235,22245,473,61415,666,0001,044,0002,449,408
10Mar 16, 2023 00:235,30787,392,27816,982,63202,199,552
11Mar 16, 2023 00:235,32895,888,03417,048,36402,203,648
12Mar 16, 2023 00:235,34082,979,20317,089,44002,215,936