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 listNov 27, 2024 12:03Dmitrii KravchenkoDmitrii KravchenkoScore: 4,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 12:034,68340,001,17312,989,0001,998,0002,293,760
2Nov 27, 2024 12:034,69231,582,21413,013,0002,002,0002,281,472
3Nov 27, 2024 12:034,69236,477,75513,013,0002,002,0002,293,760
4Nov 27, 2024 12:034,69336,879,54213,014,0002,002,0002,277,376
5Nov 27, 2024 12:034,69633,956,01813,025,0002,003,0002,273,280
6Nov 27, 2024 12:034,70840,882,49413,058,0002,008,0002,277,376
7Nov 27, 2024 12:034,72633,632,61513,106,0002,016,0002,293,760
8Nov 27, 2024 12:034,74032,745,50214,156,0001,011,0002,277,376
9Nov 27, 2024 12:034,76530,910,08614,232,0001,016,0002,281,472