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 listJul 8, 2023 10:26Andrew MoonAndrew MoonScore: 6,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 10:265,95747,381,70317,057,0002,006,0002,392,064
2Jul 8, 2023 10:265,96448,518,89717,076,0002,008,0002,265,088
3Jul 8, 2023 10:265,97546,138,14617,108,0002,012,0002,265,088
4Jul 8, 2023 10:265,97739,849,81718,119,0001,006,0002,265,088
5Jul 8, 2023 10:265,98149,631,83017,126,0002,014,0002,527,232
6Jul 8, 2023 10:265,98437,396,68917,133,0002,015,0002,265,088
7Jul 8, 2023 10:266,01344,900,85318,231,0001,012,0002,265,088
8Jul 8, 2023 10:266,01546,285,13319,249,00002,265,088
9Jul 8, 2023 10:266,02445,823,05418,263,0001,014,0002,265,088
10Jul 8, 2023 10:266,20185,886,73619,842,98602,281,472
11Jul 8, 2023 10:266,20589,616,36719,854,98302,240,512
12Jul 8, 2023 10:266,24985,186,59119,997,55102,281,472