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 19, 2022 01:27Adam StřelskýAdam StřelskýScore: 5,646Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2022 01:275,60431,769,33315,942,0001,992,0002,449,408
2Jul 19, 2022 01:275,61138,040,88615,961,0001,995,0002,445,312
3Jul 19, 2022 01:275,62443,434,80716,998,000999,0002,527,232
4Jul 19, 2022 01:275,63545,884,10016,030,0002,003,0002,441,216
5Jul 19, 2022 01:275,63841,937,52717,040,0001,002,0002,269,184
6Jul 19, 2022 01:275,64341,245,16517,053,0001,003,0002,433,024
7Jul 19, 2022 01:275,64641,049,06814,052,0004,015,0002,269,184
8Jul 19, 2022 01:275,67745,953,00816,149,0002,018,0002,269,184
9Jul 19, 2022 01:275,68040,507,60317,168,0001,009,0002,523,136
10Jul 19, 2022 01:276,054100,906,43919,371,83902,203,648
11Jul 19, 2022 01:276,06986,474,28619,419,73802,179,072
12Jul 19, 2022 01:276,09495,987,99219,500,17802,179,072