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:27lukostlukostScore: 4,472Success
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:274,45539,960,00412,221,0002,036,0002,277,376
2Apr 28, 2025 21:274,45633,730,49113,240,0001,018,0002,449,408
3Apr 28, 2025 21:274,46134,149,93513,257,0001,019,0002,453,504
4Apr 28, 2025 21:274,47234,262,33813,288,0001,022,0002,539,520
5Apr 28, 2025 21:274,47430,945,40813,296,0001,022,0002,428,928
6Apr 28, 2025 21:274,47630,010,52012,276,0002,046,0002,531,328