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 23, 2024 14:15MatthiasMatthiasScore: 4,960Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 14:154,90133,965,57614,639,0001,045,0002,265,088
2Nov 23, 2024 14:154,91341,650,89714,673,0001,048,0002,289,664
3Nov 23, 2024 14:154,91643,886,63614,682,0001,048,0002,289,664
4Nov 23, 2024 14:154,95742,999,83813,880,0001,982,0002,289,664
5Nov 23, 2024 14:154,96037,663,88213,889,0001,984,0002,523,136
6Nov 23, 2024 14:154,96245,855,33214,886,000992,0002,523,136
7Nov 23, 2024 14:154,96532,108,24413,902,0001,986,0002,269,184
8Nov 23, 2024 14:154,98735,566,09113,964,0001,994,0002,359,296
9Nov 23, 2024 14:155,22438,082,28316,716,00002,273,280