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 20:19emily 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 9, 2024 20:195,44686,326,06017,428,79602,252,800
2Apr 9, 2024 20:195,46289,776,73617,477,15202,281,472
3Apr 9, 2024 20:215,46582,403,95517,488,69502,285,568
4Apr 9, 2024 20:215,46989,500,21717,500,63402,281,472
5Apr 9, 2024 20:195,47674,953,70317,523,57902,285,568
6Apr 9, 2024 20:195,47870,548,14917,531,14702,289,664
7Apr 9, 2024 20:195,49586,239,58817,582,43502,285,568
8Apr 9, 2024 20:215,50091,309,34517,601,20202,281,472
9Apr 9, 2024 20:195,509106,523,91917,628,66002,293,760