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 listSep 4, 2021 21:01Ilya AniskovetsIlya AniskovetsScore: 5,963Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 21:015,92739,496,26016,970,0001,996,0002,527,232
2Sep 4, 2021 21:015,93549,269,31016,993,0001,999,0002,527,232
3Sep 4, 2021 21:015,94545,426,79417,021,0002,002,0002,285,568
4Sep 4, 2021 21:015,94545,234,97517,022,0002,002,0002,285,568
5Sep 4, 2021 21:015,95635,470,42918,056,0001,003,0002,387,968
6Sep 4, 2021 21:015,95846,918,54018,064,0001,003,0002,285,568
7Sep 4, 2021 21:015,96340,992,35717,074,0002,008,0002,371,584
8Sep 4, 2021 21:015,96642,840,63317,082,0002,009,0002,269,184
9Sep 4, 2021 21:015,97146,868,93717,095,0002,011,0002,281,472
10Sep 4, 2021 21:015,97694,793,29119,123,69702,293,760
11Sep 4, 2021 21:016,09882,961,91019,514,28602,289,664
12Sep 4, 2021 21:016,122100,000,97819,591,80902,293,760