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 27, 2022 14:20Robert BurkeRobert BurkeScore: 4,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 14:204,42638,282,24612,140,0002,023,0002,453,504
2Jul 27, 2022 14:204,43831,482,52812,174,0002,029,0002,281,472
3Jul 27, 2022 14:204,44232,531,09912,185,0002,030,0002,281,472
4Jul 27, 2022 14:204,44530,204,53012,192,0002,032,0002,281,472
5Jul 27, 2022 14:204,44737,211,60912,198,0002,033,0002,445,312
6Jul 27, 2022 14:204,45032,013,14312,205,0002,034,0002,281,472
7Jul 27, 2022 14:204,45833,182,97613,248,0001,019,0002,449,408
8Jul 27, 2022 14:204,46331,092,92012,243,0002,040,0002,281,472
9Jul 27, 2022 14:204,47937,588,33212,286,0002,047,0002,281,472
10Jul 27, 2022 14:204,67579,393,19214,958,61402,199,552
11Jul 27, 2022 14:204,68178,292,20514,979,44802,207,744
12Jul 27, 2022 14:204,70285,844,98715,045,91602,203,648