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 19:59lukostlukostScore: 5,270Success
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 19:595,23043,580,30816,737,00002,449,408
2Apr 24, 2025 19:595,26745,215,73715,862,000991,0002,445,312
3Apr 24, 2025 19:595,26841,822,93914,874,0001,983,0002,531,328
4Apr 24, 2025 19:595,26941,916,25313,886,0002,975,0002,531,328
5Apr 24, 2025 19:595,27031,035,13415,872,000992,0002,531,328
6Apr 24, 2025 19:595,27343,517,15515,880,000992,0002,531,328
7Apr 24, 2025 19:595,27341,850,12415,883,000992,0002,531,328
8Apr 24, 2025 19:595,27642,260,33415,891,000993,0002,445,312
9Apr 24, 2025 19:595,27945,189,68615,899,000993,0002,531,328