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 08:28Robert BurkeRobert BurkeScore: 4,638Success
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 08:284,56831,275,24013,575,0001,044,0002,281,472
2Jul 23, 2022 08:284,58830,611,50613,635,0001,048,0002,277,376
3Jul 23, 2022 08:284,59130,791,76113,641,0001,049,0002,445,312
4Jul 23, 2022 08:284,59234,406,37013,645,0001,049,0002,453,504
5Jul 23, 2022 08:284,59241,016,79913,646,0001,049,0002,281,472
6Jul 23, 2022 08:284,59742,730,48813,660,0001,050,0002,457,600
7Jul 23, 2022 08:284,63831,720,70012,863,0001,978,0002,281,472
8Jul 23, 2022 08:284,64529,311,00113,873,000990,0002,281,472
9Jul 23, 2022 08:284,65334,403,62313,899,000992,0002,449,408
10Jul 23, 2022 08:284,82087,685,23015,423,29402,199,552
11Jul 23, 2022 08:284,82978,288,94115,452,53202,203,648
12Jul 23, 2022 08:284,84385,286,62215,497,36602,207,744