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 23, 2024 19:23AnSaAnSaScore: 5,189Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 19:235,16938,901,11716,540,00002,506,752
2Jan 23, 2024 19:235,17638,371,55516,563,00002,281,472
3Jan 23, 2024 19:235,18036,700,23716,576,00002,281,472
4Jan 23, 2024 19:235,18241,680,73616,582,00002,396,160
5Jan 23, 2024 19:235,18248,420,30516,582,00002,396,160
6Jan 23, 2024 19:235,18842,339,65115,563,0001,037,0002,281,472
7Jan 23, 2024 19:235,18934,606,52615,569,0001,037,0002,281,472
8Jan 23, 2024 19:235,19544,136,55916,625,00002,281,472
9Jan 23, 2024 19:235,19937,635,35915,599,0001,039,0002,281,472
10Jan 23, 2024 19:235,346112,267,96517,106,05602,285,568
11Jan 23, 2024 19:235,38875,699,72017,240,82302,289,664
12Jan 23, 2024 19:235,41660,638,56717,332,47402,289,664