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 listMay 8, 2024 21:36Joad NacerJoad NacerScore: 5,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 8, 2024 21:365,29749,725,42914,955,0001,994,0002,265,088
2May 8, 2024 21:365,31137,169,19214,995,0001,999,0002,367,488
3May 8, 2024 21:365,31649,283,85615,011,0002,001,0002,527,232
4May 8, 2024 21:365,32543,468,90115,037,0002,004,0002,273,280
5May 8, 2024 21:365,33038,307,49115,050,0002,006,0002,289,664
6May 8, 2024 21:365,33939,737,23215,075,0002,010,0002,289,664
7May 8, 2024 21:365,34137,369,96916,085,0001,005,0002,269,184
8May 8, 2024 21:365,34644,392,52215,096,0002,012,0002,289,664
9May 8, 2024 21:365,36334,797,49216,152,0001,009,0002,289,664
10May 8, 2024 21:365,48476,206,01317,548,05402,179,072
11May 8, 2024 21:365,54761,250,92317,749,87702,293,760
12May 8, 2024 21:365,56978,678,85717,821,14002,179,072