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 26, 2024 20:18vientvientScore: 7,785Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:237,71786,608,90724,692,84802,203,648
2Jul 26, 2024 20:207,74377,017,07124,778,20402,203,648
3Jul 26, 2024 20:187,74483,984,58324,781,29002,195,456
4Jul 26, 2024 20:207,77580,003,87724,878,46502,195,456
5Jul 26, 2024 20:237,78592,580,73024,910,97402,211,840
6Jul 26, 2024 20:187,816116,815,55125,012,35502,199,552
7Jul 26, 2024 20:237,83686,982,36125,075,87802,199,552
8Jul 26, 2024 20:187,84891,194,57125,112,92702,207,744
9Jul 26, 2024 20:207,85380,530,12425,130,03902,199,552