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 listJan 29, 2025 06:34Ilya TocarIlya TocarScore: 14,155Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2025 06:3413,86469,904,27716,133,00028,233,0002,281,472
2Jan 29, 2025 06:3413,90367,484,31112,133,00032,355,0002,265,088
3Jan 29, 2025 06:3414,03772,654,0549,981,00034,936,0002,285,568
4Jan 29, 2025 06:3414,15068,091,80920,124,00025,155,0002,289,664
5Jan 29, 2025 06:3414,15569,098,10416,105,00029,190,0002,265,088
6Jan 29, 2025 06:3414,15876,184,13416,108,00029,197,0002,273,280
7Jan 29, 2025 06:3414,18973,133,48211,099,00034,307,0002,285,568
8Jan 29, 2025 06:3414,19870,625,79511,106,00034,329,0002,289,664
9Jan 29, 2025 06:3414,41268,966,47717,043,00029,074,0002,285,568