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 10, 2024 17:49emily graceemily graceScore: 5,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 17:495,45682,421,74417,459,82402,265,088
2Apr 10, 2024 17:495,46397,036,60317,481,68802,256,896
3Apr 10, 2024 17:495,48666,301,43217,554,48902,269,184
4Apr 10, 2024 17:495,49391,559,62417,576,97702,269,184
5Apr 10, 2024 17:495,496100,363,41117,586,97602,256,896
6Apr 10, 2024 17:495,52792,157,84417,685,51902,269,184