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 listOct 6, 2024 09:16Alexis EngelkeAlexis EngelkeScore: 5,275Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 6, 2024 09:165,27041,124,52214,881,0001,984,0002,445,312
2Oct 6, 2024 09:165,27135,837,98214,882,0001,984,0002,449,408
3Oct 6, 2024 09:165,27135,783,46314,882,0001,984,0002,433,024
4Oct 6, 2024 09:165,27334,679,81214,888,0001,985,0002,433,024
5Oct 6, 2024 09:165,27544,001,50114,894,0001,985,0002,273,280
6Oct 6, 2024 09:165,27647,074,41414,896,0001,986,0002,433,024
7Oct 6, 2024 09:165,28144,755,71714,911,0001,988,0002,449,408
8Oct 6, 2024 09:165,29344,222,78314,944,0001,992,0002,535,424
9Oct 6, 2024 09:165,30253,675,84714,970,0001,996,0002,445,312