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 listJun 9, 2024 17:42AndreyTSAndreyTSError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 17:4200000Error: expected "977073 ", got "sum: 44 233 244 133 156 177 225 173 183 213 74 162 137 92 13 33 17 177 191 104 33 210 114 13 97 180 71 30 64 40 85 43 0 "