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:10Robert BurkeRobert BurkeScore: 4,731Success
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:104,69333,151,89713,017,0002,002,0002,281,472
2Jul 22, 2022 23:104,70328,257,71613,042,0002,006,0002,449,408
3Jul 22, 2022 23:104,70732,080,13713,053,0002,008,0002,281,472
4Jul 22, 2022 23:104,71033,266,80513,063,0002,009,0002,277,376
5Jul 22, 2022 23:104,71636,548,60113,080,0002,012,0002,449,408
6Jul 22, 2022 23:104,72336,738,58013,097,0002,015,0002,449,408
7Jul 22, 2022 23:104,73130,130,18313,120,0002,018,0002,281,472
8Jul 22, 2022 23:104,73828,220,38314,150,0001,010,0002,281,472
9Jul 22, 2022 23:104,74335,628,90113,154,0002,023,0002,281,472
10Jul 22, 2022 23:104,94586,386,92515,822,69502,207,744
11Jul 22, 2022 23:104,95175,401,83715,841,75602,211,840
12Jul 22, 2022 23:104,970114,013,08315,904,53302,215,936