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 20, 2024 14:54Joad NacerJoad NacerScore: 5,038Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2024 14:544,95937,248,50613,886,0001,983,0002,285,568
2Apr 20, 2024 14:544,96930,237,72213,915,0001,987,0002,289,664
3Apr 20, 2024 14:544,98035,198,96213,944,0001,992,0002,273,280
4Apr 20, 2024 14:544,99546,609,37714,986,000999,0002,289,664
5Apr 20, 2024 14:545,01132,747,04314,030,0002,004,0002,383,872
6Apr 20, 2024 14:545,03534,858,41815,106,0001,007,0002,289,664
7Apr 20, 2024 14:545,03833,429,49215,116,0001,007,0002,289,664
8Apr 20, 2024 14:545,04239,522,87616,135,00002,289,664
9Apr 20, 2024 14:545,07829,857,53614,217,0002,031,0002,273,280
10Apr 20, 2024 14:545,26285,388,91916,839,55002,306,048
11Apr 20, 2024 14:545,29690,362,58416,947,79002,301,952
12Apr 20, 2024 14:545,31888,162,14117,018,35902,301,952