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 28, 2025 21:17lukostlukostScore: 4,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 21:174,44435,366,89612,191,0002,031,0002,539,520
2Apr 28, 2025 21:174,45129,319,61312,208,0002,034,0002,449,408
3Apr 28, 2025 21:174,46541,088,45613,269,0001,020,0002,539,520
4Apr 28, 2025 21:174,46530,128,24012,248,0002,041,0002,449,408
5Apr 28, 2025 21:174,46830,125,44613,278,0001,021,0002,449,408
6Apr 28, 2025 21:174,47329,930,40213,290,0001,022,0002,449,408
7Apr 28, 2025 21:174,47335,483,47513,291,0001,022,0002,539,520
8Apr 28, 2025 21:174,47332,578,21113,293,0001,022,0002,539,520
9Apr 28, 2025 21:174,47630,042,02213,299,0001,023,0002,445,312