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 16:42Adam StřelskýAdam StřelskýScore: 5,338Success
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 16:425,32142,522,43415,025,0002,003,0002,449,408
2Jul 19, 2022 16:425,33438,902,51315,062,0002,008,0002,437,120
3Jul 19, 2022 16:425,33537,834,01315,064,0002,008,0002,445,312
4Jul 19, 2022 16:425,33638,020,37815,066,0002,008,0002,449,408
5Jul 19, 2022 16:425,33731,110,78615,070,0002,009,0002,273,280
6Jul 19, 2022 16:425,33832,250,50015,072,0002,009,0002,441,216
7Jul 19, 2022 16:425,33845,683,55215,073,0002,009,0002,535,424
8Jul 19, 2022 16:425,33939,933,58515,076,0002,010,0002,441,216
9Jul 19, 2022 16:425,34041,003,67015,079,0002,010,0002,445,312
10Jul 19, 2022 16:425,71797,530,14418,293,31702,199,552
11Jul 19, 2022 16:425,740105,420,38818,366,95702,199,552
12Jul 19, 2022 16:425,76656,095,86918,452,14202,191,360