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 22, 2022 22:59Robert BurkeRobert BurkeScore: 5,081Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 22:595,06642,214,40814,185,0002,026,0002,281,472
2Jul 22, 2022 22:595,07039,802,79314,197,0002,028,0002,281,472
3Jul 22, 2022 22:595,07330,946,85514,205,0002,029,0002,445,312
4Jul 22, 2022 22:595,07433,628,08714,209,0002,029,0002,281,472
5Jul 22, 2022 22:595,07536,214,93915,225,0001,015,0002,445,312
6Jul 22, 2022 22:595,07741,901,21214,215,0002,030,0002,445,312
7Jul 22, 2022 22:595,08139,882,84914,228,0002,032,0002,281,472
8Jul 22, 2022 22:595,08935,050,94215,269,0001,017,0002,281,472
9Jul 22, 2022 22:595,10334,917,59715,311,0001,020,0002,445,312
10Jul 22, 2022 22:595,25263,886,48816,807,31602,207,744
11Jul 22, 2022 22:595,26868,335,39816,857,47502,199,552
12Jul 22, 2022 22:595,29476,966,81716,940,74602,203,648