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 6, 2025 05:48Chandrasekaran AkashChandrasekaran AkashScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 05:485,27140,748,80316,867,00002,527,232
2Apr 6, 2025 05:485,27242,820,56215,879,000992,0002,527,232
3Apr 6, 2025 05:485,27345,538,14016,873,00002,449,408
4Apr 6, 2025 05:485,27332,768,80014,889,0001,985,0002,265,088
5Apr 6, 2025 05:485,27437,246,24216,876,00002,527,232
6Apr 6, 2025 05:485,27741,672,47015,894,000993,0002,523,136
7Apr 6, 2025 05:485,27942,538,46614,907,0001,987,0002,527,232
8Apr 6, 2025 05:485,29341,807,45815,940,000996,0002,445,312
9Apr 6, 2025 05:485,32048,023,02816,024,0001,001,0002,441,216