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:40lukostlukostScore: 5,352Success
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:425,33941,965,45216,081,0001,005,0002,269,184
2Apr 24, 2025 19:405,34038,895,90816,084,0001,005,0002,531,328
3Apr 24, 2025 19:425,35141,806,97515,110,0002,014,0002,445,312
4Apr 24, 2025 19:405,35242,394,60016,118,0001,007,0002,531,328
5Apr 24, 2025 19:405,35338,091,92916,124,0001,007,0002,453,504
6Apr 24, 2025 19:425,36731,704,65616,165,0001,010,0002,441,216