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 listApr 18, 2024 19:11Robert BurkeRobert BurkeScore: 4,425Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:114,39632,419,66512,059,0002,009,0002,449,408
2Apr 18, 2024 19:114,40430,485,78512,080,0002,013,0002,281,472
3Apr 18, 2024 19:114,40737,697,46112,089,0002,014,0002,449,408
4Apr 18, 2024 19:114,40934,051,45012,094,0002,015,0002,281,472
5Apr 18, 2024 19:114,41229,750,74212,102,0002,017,0002,281,472
6Apr 18, 2024 19:114,42034,207,58112,123,0002,020,0002,281,472
7Apr 18, 2024 19:114,42530,884,37512,138,0002,023,0002,441,216
8Apr 18, 2024 19:114,43230,854,80812,156,0002,026,0002,453,504
9Apr 18, 2024 19:114,43337,681,23412,161,0002,026,0002,449,408
10Apr 18, 2024 19:114,70384,789,83215,048,62302,203,648
11Apr 18, 2024 19:114,70555,054,14815,055,67602,207,744
12Apr 18, 2024 19:114,71266,867,83615,077,78002,203,648