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 04:14Robert BurkeRobert BurkeScore: 4,625Success
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 04:144,57331,753,67713,590,0001,045,0002,449,408
2Jul 23, 2022 04:144,59330,278,18313,647,0001,049,0002,453,504
3Jul 23, 2022 04:144,59631,810,81913,656,0001,050,0002,281,472
4Jul 23, 2022 04:144,59831,248,18413,662,0001,050,0002,281,472
5Jul 23, 2022 04:144,59837,482,94913,663,0001,051,0002,281,472
6Jul 23, 2022 04:144,60335,345,84013,677,0001,052,0002,281,472
7Jul 23, 2022 04:144,62531,463,34112,827,0001,973,0002,445,312
8Jul 23, 2022 04:144,64927,669,15412,893,0001,983,0002,281,472
9Jul 23, 2022 04:144,65434,236,20512,908,0001,985,0002,445,312
10Jul 23, 2022 04:144,82261,515,37715,431,63402,215,936
11Jul 23, 2022 04:144,83083,061,77515,457,20702,199,552
12Jul 23, 2022 04:144,83392,367,30715,464,34902,203,648