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 listJul 23, 2022 00:22Robert BurkeRobert BurkeScore: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 00:224,58432,738,34313,621,0001,047,0002,449,408
2Jul 23, 2022 00:224,59130,423,98413,642,0001,049,0002,445,312
3Jul 23, 2022 00:224,59329,553,36213,648,0001,049,0002,273,280
4Jul 23, 2022 00:224,59436,740,31613,652,0001,050,0002,445,312
5Jul 23, 2022 00:224,59628,401,36113,657,0001,050,0002,281,472
6Jul 23, 2022 00:224,64933,710,15513,885,000991,0002,445,312
7Jul 23, 2022 00:224,65029,047,59212,896,0001,984,0002,445,312
8Jul 23, 2022 00:224,65231,166,00613,895,000992,0002,445,312
9Jul 23, 2022 00:224,65444,555,55212,907,0001,985,0002,449,408
10Jul 23, 2022 00:224,83390,000,68215,464,66702,203,648
11Jul 23, 2022 00:224,837106,426,23515,476,95102,260,992
12Jul 23, 2022 00:224,84696,682,00515,508,31802,207,744