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 23, 2022 00:34Robert BurkeRobert BurkeScore: 4,595Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 00:344,57833,066,17313,604,0001,046,0002,281,472
2Jul 23, 2022 00:344,58336,960,81713,619,0001,047,0002,281,472
3Jul 23, 2022 00:344,58540,562,22213,624,0001,048,0002,449,408
4Jul 23, 2022 00:344,58540,681,16813,625,0001,048,0002,441,216
5Jul 23, 2022 00:344,58829,607,04713,632,0001,048,0002,445,312
6Jul 23, 2022 00:344,59141,838,90313,642,0001,049,0002,281,472
7Jul 23, 2022 00:344,59534,754,92513,654,0001,050,0002,281,472
8Jul 23, 2022 00:344,61431,352,94112,798,0001,968,0002,281,472
9Jul 23, 2022 00:344,65336,508,68812,906,0001,985,0002,449,408
10Jul 23, 2022 00:344,83259,137,84815,462,83802,207,744
11Jul 23, 2022 00:344,84170,523,69615,492,31802,203,648
12Jul 23, 2022 00:344,86581,921,83515,568,50902,203,648