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 24, 2022 11:34Robert BurkeRobert BurkeScore: 4,447Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 11:344,42632,794,07212,140,0002,023,0002,281,472
2Jul 24, 2022 11:344,43636,089,71612,168,0002,028,0002,281,472
3Jul 24, 2022 11:344,44230,682,01912,183,0002,030,0002,449,408
4Jul 24, 2022 11:344,44336,627,24212,187,0002,031,0002,281,472
5Jul 24, 2022 11:344,44332,013,97812,188,0002,031,0002,445,312
6Jul 24, 2022 11:344,44332,498,90512,188,0002,031,0002,277,376
7Jul 24, 2022 11:344,44728,124,47312,197,0002,032,0002,281,472
8Jul 24, 2022 11:344,46326,478,45313,263,0001,020,0002,281,472
9Jul 24, 2022 11:344,46831,510,22513,275,0001,021,0002,441,216
10Jul 24, 2022 11:344,67276,248,76614,950,24302,199,552
11Jul 24, 2022 11:344,69485,243,80315,019,31702,203,648
12Jul 24, 2022 11:344,70386,822,17415,049,13202,199,552