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 24, 2022 10:57Robert BurkeRobert BurkeScore: 4,555Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 10:574,52030,332,69013,430,0001,033,0002,453,504
2Jul 24, 2022 10:574,52836,350,46113,454,0001,034,0002,445,312
3Jul 24, 2022 10:574,53930,728,31513,489,0001,037,0002,281,472
4Jul 24, 2022 10:574,53935,826,90713,489,0001,037,0002,449,408
5Jul 24, 2022 10:574,54333,644,15013,501,0001,038,0002,441,216
6Jul 24, 2022 10:574,55333,465,79513,531,0001,040,0002,441,216
7Jul 24, 2022 10:574,55534,915,22113,536,0001,041,0002,453,504
8Jul 24, 2022 10:574,55633,383,02913,539,0001,041,0002,535,424
9Jul 24, 2022 10:574,55842,723,85914,586,00002,281,472
10Jul 24, 2022 10:574,76083,833,63015,233,39002,191,360
11Jul 24, 2022 10:574,76274,332,66515,239,39002,207,744
12Jul 24, 2022 10:574,77581,217,56415,278,46502,211,840