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:48Joad NacerJoad NacerScore: 4,913Success
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:484,88341,761,80914,584,0001,041,0002,527,232
2May 8, 2024 21:484,88641,919,31114,593,0001,042,0002,269,184
3May 8, 2024 21:484,89937,397,82214,631,0001,045,0002,265,088
4May 8, 2024 21:484,90040,320,22414,635,0001,045,0002,379,776
5May 8, 2024 21:484,91245,507,41414,671,0001,047,0002,289,664
6May 8, 2024 21:484,91343,009,06514,672,0001,048,0002,277,376
7May 8, 2024 21:484,91339,254,76014,672,0001,048,0002,285,568
8May 8, 2024 21:484,95639,887,98113,876,0001,982,0002,273,280
9May 8, 2024 21:484,95943,370,03313,885,0001,983,0002,289,664
10May 8, 2024 21:485,10278,525,22516,326,46402,297,856
11May 8, 2024 21:485,14961,535,92216,478,36902,297,856
12May 8, 2024 21:485,18785,815,92716,597,59702,289,664