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 23:16emily graceemily graceScore: 5,540Success
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 23:165,50856,241,89517,626,03802,265,088
2Apr 10, 2024 23:165,51989,723,00017,659,59702,265,088
3Apr 10, 2024 23:165,52179,430,00217,668,00002,260,992
4Apr 10, 2024 23:165,54088,296,29117,729,38702,265,088
5Apr 10, 2024 23:165,55387,417,86717,769,53502,277,376
6Apr 10, 2024 23:165,56374,798,17717,801,41202,277,376