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 listJul 9, 2023 01:12Andrew MoonAndrew MoonScore: 5,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 9, 2023 01:125,26645,687,33014,870,0001,982,0002,265,088
2Jul 9, 2023 01:125,27544,962,42914,894,0001,985,0002,392,064
3Jul 9, 2023 01:125,27633,149,85615,889,000993,0002,396,160
4Jul 9, 2023 01:125,27846,529,45815,895,000993,0002,265,088
5Jul 9, 2023 01:125,28040,130,05914,908,0001,987,0002,387,968
6Jul 9, 2023 01:125,28439,340,94414,920,0001,989,0002,387,968
7Jul 9, 2023 01:125,29236,859,77614,942,0001,992,0002,265,088
8Jul 9, 2023 01:125,29334,889,93215,942,000996,0002,265,088
9Jul 9, 2023 01:125,30244,225,56815,968,000998,0002,265,088
10Jul 9, 2023 01:125,47890,583,99917,531,15902,273,280
11Jul 9, 2023 01:125,481111,294,77617,538,50502,277,376
12Jul 9, 2023 01:125,51582,960,93717,648,82102,277,376