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 15:29Joad NacerJoad NacerScore: 5,303Success
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 15:295,28144,888,51214,911,0001,988,0002,289,664
2Apr 17, 2024 15:295,28943,526,23314,935,0001,991,0002,289,664
3Apr 17, 2024 15:295,29241,155,99914,942,0001,992,0002,265,088
4Apr 17, 2024 15:295,29434,192,43615,946,000996,0002,531,328
5Apr 17, 2024 15:295,29538,756,51214,950,0001,993,0002,269,184
6Apr 17, 2024 15:295,29850,339,41814,958,0001,994,0002,383,872
7Apr 17, 2024 15:295,30335,765,46014,973,0001,996,0002,289,664
8Apr 17, 2024 15:295,30933,043,05314,990,0001,998,0002,289,664
9Apr 17, 2024 15:295,32840,191,80815,045,0002,006,0002,289,664
10Apr 17, 2024 15:295,52983,286,37517,693,14902,297,856
11Apr 17, 2024 15:295,55457,937,89717,771,80002,297,856
12Apr 17, 2024 15:295,57373,975,49317,833,99702,306,048