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 22, 2022 22:19Robert BurkeRobert BurkeScore: 4,734Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 22:194,70130,686,99413,037,0002,005,0002,453,504
2Jul 22, 2022 22:194,70935,405,24813,061,0002,009,0002,281,472
3Jul 22, 2022 22:194,71133,354,82513,065,0002,010,0002,281,472
4Jul 22, 2022 22:194,71428,424,44013,075,0002,011,0002,457,600
5Jul 22, 2022 22:194,71833,952,25713,084,0002,012,0002,453,504
6Jul 22, 2022 22:194,72037,587,87313,091,0002,014,0002,453,504
7Jul 22, 2022 22:194,73437,105,23213,129,0002,019,0002,453,504
8Jul 22, 2022 22:194,73633,957,56513,134,0002,020,0002,445,312
9Jul 22, 2022 22:194,73832,478,15013,139,0002,021,0002,453,504
10Jul 22, 2022 22:194,91578,479,18315,728,57702,191,360
11Jul 22, 2022 22:194,92282,934,21715,751,37902,199,552
12Jul 22, 2022 22:194,92356,574,40115,754,04402,199,552