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 2, 2023 19:51popguacpopguacScore: 2,593,227Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2023 19:512,530,5928,171,177,4018,097,895,48102,248,704
2Jul 2, 2023 19:512,593,2278,367,847,7508,298,326,65102,248,704
3Jul 2, 2023 19:512,713,5378,759,953,2918,683,318,14302,244,608