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 listOct 1, 2023 23:05apuxbtapuxbtScore: 5,456Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2023 23:055,41843,032,57217,337,00002,379,776
2Oct 1, 2023 23:055,41932,719,03315,300,0002,040,0002,478,080
3Oct 1, 2023 23:055,43249,822,31617,381,00002,527,232
4Oct 1, 2023 23:055,43237,260,83816,359,0001,022,0002,392,064
5Oct 1, 2023 23:055,43433,029,83416,366,0001,022,0002,387,968
6Oct 1, 2023 23:055,43633,413,34016,371,0001,023,0002,265,088
7Oct 1, 2023 23:055,45638,341,26016,432,0001,027,0002,392,064
8Oct 1, 2023 23:055,46538,743,51617,488,00002,265,088
9Oct 1, 2023 23:055,47638,189,82416,494,0001,030,0002,265,088
10Oct 1, 2023 23:055,90383,651,90718,889,48202,285,568
11Oct 1, 2023 23:055,91685,794,85818,931,35002,293,760
12Oct 1, 2023 23:055,95391,339,95819,049,87102,281,472