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 listJul 27, 2024 21:55bbappserverbbappserverError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 21:5600000Error: expected "977165 ", got "977166 "
2Jul 27, 2024 21:5521,700136,098,06969,441,06702,256,896
3Jul 27, 2024 21:5522,668131,595,12172,537,58902,265,088
4Jul 27, 2024 21:5522,708150,769,07572,665,35002,256,896