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 19, 2022 01:19Adam StřelskýAdam StřelskýScore: 5,700Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2022 01:195,66644,358,30517,125,0001,007,0002,441,216
2Jul 19, 2022 01:195,67139,700,48315,123,0003,024,0002,527,232
3Jul 19, 2022 01:195,67340,111,78017,147,0001,008,0002,531,328
4Jul 19, 2022 01:195,67442,475,22217,149,0001,008,0002,269,184
5Jul 19, 2022 01:195,67839,296,30716,150,0002,018,0002,269,184
6Jul 19, 2022 01:195,69341,513,71616,193,0002,024,0002,445,312
7Jul 19, 2022 01:195,70037,038,07316,214,0002,026,0002,445,312
8Jul 19, 2022 01:195,71339,888,68818,283,00002,449,408
9Jul 19, 2022 01:195,72142,702,92118,307,00002,269,184
10Jul 19, 2022 01:196,07671,956,48219,442,23502,203,648
11Jul 19, 2022 01:196,09188,853,51419,490,48902,195,456
12Jul 19, 2022 01:196,125102,353,12319,598,56202,195,456