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 23:28Robert BurkeRobert BurkeScore: 4,643Success
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 23:284,57128,512,29113,584,0001,044,0002,277,376
2Jul 22, 2022 23:284,58639,707,46913,627,0001,048,0002,281,472
3Jul 22, 2022 23:284,58829,962,43313,633,0001,048,0002,281,472
4Jul 22, 2022 23:284,58842,001,01913,633,0001,048,0002,281,472
5Jul 22, 2022 23:284,59533,550,06113,654,0001,050,0002,445,312
6Jul 22, 2022 23:284,59643,817,58913,658,0001,050,0002,449,408
7Jul 22, 2022 23:284,64331,905,79312,876,0001,980,0002,281,472
8Jul 22, 2022 23:284,64928,890,76612,894,0001,983,0002,273,280
9Jul 22, 2022 23:284,65238,942,51113,895,000992,0002,281,472
10Jul 22, 2022 23:284,82176,529,63415,427,53902,199,552
11Jul 22, 2022 23:284,82990,398,27915,452,72202,211,840
12Jul 22, 2022 23:284,84392,064,76915,497,56302,195,456