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 03:40KeefeKeefeScore: 4,468Success
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 03:404,44633,497,61612,194,0002,032,0002,437,120
2Apr 27, 2025 03:404,46636,519,27714,290,00002,531,328
3Apr 27, 2025 03:404,46735,348,20312,252,0002,042,0002,437,120
4Apr 27, 2025 03:404,46834,377,24113,275,0001,021,0002,437,120
5Apr 27, 2025 03:404,46830,449,26814,296,00002,531,328
6Apr 27, 2025 03:404,47130,386,34113,286,0001,022,0002,531,328
7Apr 27, 2025 03:404,48330,350,57114,344,00002,437,120
8Apr 27, 2025 03:404,48630,595,99313,329,0001,025,0002,437,120
9Apr 27, 2025 03:404,49028,902,17513,342,0001,026,0002,531,328