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 16:38emily graceemily graceScore: 5,476Success
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 16:405,46599,655,47317,487,16502,265,088
2Apr 10, 2024 16:385,46888,930,38017,497,94702,260,992
3Apr 10, 2024 16:385,46892,074,56217,498,97902,269,184
4Apr 10, 2024 16:405,46989,802,77517,500,23102,273,280
5Apr 10, 2024 16:385,47685,350,30417,522,36702,269,184
6Apr 10, 2024 16:385,48089,984,42817,536,85502,277,376
7Apr 10, 2024 16:385,50086,989,74017,598,74302,265,088
8Apr 10, 2024 16:405,50477,352,04617,612,86902,260,992
9Apr 10, 2024 16:385,511102,681,68217,636,21302,273,280