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:53lukostlukostScore: 5,141Success
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:535,09535,941,33715,286,0001,019,0002,437,120
2Apr 24, 2025 20:535,12131,740,51015,362,0001,024,0002,535,424
3Apr 24, 2025 20:535,13135,181,62115,392,0001,026,0002,445,312
4Apr 24, 2025 20:535,14134,823,46415,424,0001,028,0002,277,376
5Apr 24, 2025 20:535,14830,943,73715,445,0001,029,0002,535,424
6Apr 24, 2025 20:535,15034,254,39015,451,0001,030,0002,445,312