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 listJul 29, 2024 17:38gviaugviauScore: 5,789Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 17:385,73843,169,27716,323,0002,040,0002,527,232
2Jul 29, 2024 17:385,75742,772,73017,399,0001,023,0002,289,664
3Jul 29, 2024 17:385,76941,235,34716,410,0002,051,0002,269,184
4Jul 29, 2024 17:385,77644,751,65716,430,0002,053,0002,289,664
5Jul 29, 2024 17:385,77851,679,48617,463,0001,027,0002,289,664
6Jul 29, 2024 17:385,78641,705,86517,486,0001,028,0002,269,184
7Jul 29, 2024 17:385,78944,497,25417,495,0001,029,0002,289,664
8Jul 29, 2024 17:385,79843,787,90817,525,0001,030,0002,531,328
9Jul 29, 2024 17:385,83142,744,99018,658,00002,269,184
10Jul 29, 2024 17:385,985103,618,89119,152,01202,301,952
11Jul 29, 2024 17:386,01480,291,32019,245,53702,297,856
12Jul 29, 2024 17:386,074117,496,10919,437,27902,301,952