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 12:27Robert BurkeRobert BurkeScore: 4,536Success
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 12:274,51431,690,93913,414,0001,031,0002,445,312
2Jul 24, 2022 12:274,51632,710,37513,418,0001,032,0002,437,120
3Jul 24, 2022 12:274,52131,707,93913,435,0001,033,0002,281,472
4Jul 24, 2022 12:274,52230,717,72913,438,0001,033,0002,441,216
5Jul 24, 2022 12:274,52333,312,05013,441,0001,033,0002,449,408
6Jul 24, 2022 12:274,53133,000,65013,464,0001,035,0002,441,216
7Jul 24, 2022 12:274,53641,478,05513,478,0001,036,0002,281,472
8Jul 24, 2022 12:274,53727,995,39313,482,0001,037,0002,445,312
9Jul 24, 2022 12:274,54033,444,00013,491,0001,037,0002,445,312
10Jul 24, 2022 12:274,76878,719,44715,256,00502,191,360
11Jul 24, 2022 12:274,77191,971,29915,266,25602,211,840
12Jul 24, 2022 12:274,80993,735,47715,390,28602,207,744