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 11:33Robert BurkeRobert BurkeScore: 4,490Success
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 11:334,47639,778,95713,299,0001,023,0002,281,472
2Jul 24, 2022 11:334,47635,962,91013,300,0001,023,0002,445,312
3Jul 24, 2022 11:334,47929,801,11013,310,0001,023,0002,281,472
4Jul 24, 2022 11:334,48131,454,82413,315,0001,024,0002,281,472
5Jul 24, 2022 11:334,48232,849,91013,317,0001,024,0002,433,024
6Jul 24, 2022 11:334,48533,033,07813,328,0001,025,0002,449,408
7Jul 24, 2022 11:334,49036,882,70213,342,0001,026,0002,281,472
8Jul 24, 2022 11:334,49330,140,25613,352,0001,027,0002,453,504
9Jul 24, 2022 11:334,51428,793,90713,413,0001,031,0002,445,312
10Jul 24, 2022 11:334,72585,718,59315,120,10602,203,648
11Jul 24, 2022 11:334,72955,188,91415,131,97602,207,744
12Jul 24, 2022 11:334,75086,568,38615,198,56402,203,648