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 9, 2024 19:29emily graceemily graceScore: 5,511Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 9, 2024 19:295,44293,579,94317,413,82502,285,568
2Apr 9, 2024 19:295,46379,195,33517,480,78702,285,568
3Apr 9, 2024 19:295,49176,884,15217,572,03802,281,472
4Apr 9, 2024 19:295,51189,614,50917,635,79402,285,568
5Apr 9, 2024 19:295,51367,897,07717,641,10902,285,568
6Apr 9, 2024 19:295,54582,979,98517,744,55902,289,664