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 27, 2025 15:49lukostlukostScore: 4,989Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 15:484,97132,094,63113,918,0001,988,0002,449,408
2Apr 27, 2025 15:504,97537,257,12014,860,0001,061,0002,445,312
3Apr 27, 2025 15:494,98432,096,53413,956,0001,993,0002,539,520
4Apr 27, 2025 15:504,98428,945,88813,956,0001,993,0002,531,328
5Apr 27, 2025 15:484,98932,691,48413,969,0001,995,0002,539,520
6Apr 27, 2025 15:494,99341,626,30813,980,0001,997,0002,445,312
7Apr 27, 2025 15:485,01135,394,16515,033,0001,002,0002,449,408
8Apr 27, 2025 15:505,01532,319,94715,045,0001,003,0002,445,312
9Apr 27, 2025 15:495,01834,965,52315,056,0001,003,0002,441,216