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 listApr 18, 2024 14:19Robert BurkeRobert BurkeScore: 4,459Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:194,42837,139,16712,144,0002,024,0002,281,472
2Apr 18, 2024 14:194,43732,008,40812,171,0002,028,0002,449,408
3Apr 18, 2024 14:194,43936,497,90612,175,0002,029,0002,281,472
4Apr 18, 2024 14:194,44132,410,03712,182,0002,030,0002,281,472
5Apr 18, 2024 14:194,44429,895,48612,191,0002,031,0002,445,312
6Apr 18, 2024 14:194,45531,736,80812,219,0002,036,0002,441,216
7Apr 18, 2024 14:194,45931,351,64413,249,0001,019,0002,281,472
8Apr 18, 2024 14:194,45930,120,85813,250,0001,019,0002,445,312
9Apr 18, 2024 14:194,46229,950,49214,278,00002,441,216
10Apr 18, 2024 14:194,73964,025,33615,164,56502,203,648
11Apr 18, 2024 14:194,76594,128,82915,249,05402,199,552
12Apr 18, 2024 14:194,77990,216,37415,294,34102,203,648