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 listDec 14, 2024 23:28MatthiasMatthiasScore: 4,723Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 23:284,69034,595,77113,007,0002,001,0002,285,568
2Dec 14, 2024 23:284,69334,332,63213,015,0002,002,0002,519,040
3Dec 14, 2024 23:284,70029,619,04813,036,0002,005,0002,265,088
4Dec 14, 2024 23:284,71338,133,09314,076,0001,005,0002,265,088
5Dec 14, 2024 23:284,72338,331,70213,100,0002,015,0002,269,184
6Dec 14, 2024 23:284,72639,725,72813,108,0002,016,0002,269,184
7Dec 14, 2024 23:284,74036,803,05914,157,0001,011,0002,523,136
8Dec 14, 2024 23:284,74839,174,92713,167,0002,025,0002,285,568
9Dec 14, 2024 23:284,75036,077,37114,188,0001,013,0002,265,088