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 25, 2024 21:52Dmitrii KravchenkoDmitrii KravchenkoScore: 4,888Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 25, 2024 21:524,86234,930,79614,522,0001,037,0002,281,472
2Nov 25, 2024 21:524,87132,042,24215,586,00002,281,472
3Nov 25, 2024 21:524,87842,329,13114,569,0001,040,0002,273,280
4Nov 25, 2024 21:524,88442,202,41714,587,0001,041,0002,281,472
5Nov 25, 2024 21:524,88837,754,83114,600,0001,042,0002,277,376
6Nov 25, 2024 21:524,89331,360,00013,571,0002,087,0002,281,472
7Nov 25, 2024 21:524,89642,151,07414,624,0001,044,0002,281,472
8Nov 25, 2024 21:524,90530,015,24314,649,0001,046,0002,281,472
9Nov 25, 2024 21:524,95837,677,36012,891,0002,975,0002,281,472