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 17, 2024 03:10Joad NacerJoad NacerScore: 5,778Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:105,68839,127,79817,189,0001,011,0002,269,184
2Apr 17, 2024 03:105,70344,817,70216,223,0002,027,0002,289,664
3Apr 17, 2024 03:105,71543,509,33416,256,0002,032,0002,269,184
4Apr 17, 2024 03:105,71937,165,36717,284,0001,016,0002,289,664
5Apr 17, 2024 03:105,72843,288,66616,292,0002,036,0002,265,088
6Apr 17, 2024 03:105,74640,479,15616,345,0002,043,0002,281,472
7Apr 17, 2024 03:105,77844,099,43517,462,0001,027,0002,527,232
8Apr 17, 2024 03:105,77842,110,28716,436,0002,054,0002,289,664
9Apr 17, 2024 03:105,78041,086,32716,440,0002,055,0002,351,104
10Apr 17, 2024 03:105,92797,949,79718,965,54402,174,976
11Apr 17, 2024 03:105,94089,308,90319,007,32702,301,952
12Apr 17, 2024 03:105,97168,614,17319,105,63002,293,760