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 19, 2023 05:30Kenneth MaplesKenneth MaplesScore: 5,183Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 05:305,12337,519,37615,371,0001,024,0002,265,088
2Dec 19, 2023 05:305,13236,806,10915,395,0001,026,0002,265,088
3Dec 19, 2023 05:305,14641,535,54315,437,0001,029,0002,387,968
4Dec 19, 2023 05:305,14733,743,62715,442,0001,029,0002,506,752
5Dec 19, 2023 05:305,15827,852,18215,475,0001,031,0002,519,040
6Dec 19, 2023 05:305,17239,762,72515,515,0001,034,0002,387,968
7Dec 19, 2023 05:305,18340,661,53016,585,00002,379,776
8Dec 19, 2023 05:305,18934,646,95216,605,00002,392,064
9Dec 19, 2023 05:305,19345,222,39115,580,0001,038,0002,383,872
10Dec 19, 2023 05:305,33881,202,86217,082,88402,281,472
11Dec 19, 2023 05:305,35292,855,59817,127,59102,269,184
12Dec 19, 2023 05:305,39677,704,50817,267,17702,269,184