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 24, 2025 20:30lukostlukostScore: 5,138Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 20:305,11830,479,57215,356,0001,023,0002,535,424
2Apr 24, 2025 20:305,12039,148,65715,360,0001,024,0002,445,312
3Apr 24, 2025 20:305,13241,052,12315,395,0001,026,0002,539,520
4Apr 24, 2025 20:305,13236,017,40115,396,0001,026,0002,539,520
5Apr 24, 2025 20:305,13837,278,63615,413,0001,027,0002,539,520
6Apr 24, 2025 20:305,13937,672,21915,418,0001,027,0002,437,120
7Apr 24, 2025 20:305,14543,185,26715,436,0001,029,0002,277,376
8Apr 24, 2025 20:305,15435,701,22715,463,0001,030,0002,437,120
9Apr 24, 2025 20:305,15732,529,61815,472,0001,031,0002,449,408