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 listDec 23, 2023 00:15Kenneth MaplesKenneth MaplesScore: 5,131Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2023 00:155,08841,705,46414,248,0002,035,0002,392,064
2Dec 23, 2023 00:155,09136,661,39614,255,0002,036,0002,265,088
3Dec 23, 2023 00:155,09839,497,83815,296,0001,019,0002,396,160
4Dec 23, 2023 00:155,10242,075,62815,307,0001,020,0002,392,064
5Dec 23, 2023 00:155,12138,452,14916,387,00002,265,088
6Dec 23, 2023 00:155,12946,675,98015,387,0001,025,0002,392,064
7Dec 23, 2023 00:155,13139,439,87316,419,00002,527,232
8Dec 23, 2023 00:155,13246,700,96015,396,0001,026,0002,265,088
9Dec 23, 2023 00:155,15231,954,65615,455,0001,030,0002,265,088
10Dec 23, 2023 00:155,301116,817,58616,962,03502,269,184
11Dec 23, 2023 00:155,31791,030,43217,012,95002,269,184
12Dec 23, 2023 00:155,34964,120,55717,117,69002,273,280