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:23Robert BurkeRobert BurkeScore: 4,456Success
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:234,42933,402,05012,148,0002,024,0002,281,472
2Jul 27, 2022 14:234,43732,566,80912,170,0002,028,0002,449,408
3Jul 27, 2022 14:234,43829,492,27312,173,0002,028,0002,445,312
4Jul 27, 2022 14:234,44432,365,37912,189,0002,031,0002,453,504
5Jul 27, 2022 14:234,44830,245,76312,200,0002,033,0002,281,472
6Jul 27, 2022 14:234,44933,656,36312,204,0002,034,0002,277,376
7Jul 27, 2022 14:234,45634,012,09712,222,0002,037,0002,449,408
8Jul 27, 2022 14:234,46128,578,19212,237,0002,039,0002,277,376
9Jul 27, 2022 14:234,46333,090,50513,261,0001,020,0002,281,472
10Jul 27, 2022 14:234,69380,306,61115,018,36902,256,896
11Jul 27, 2022 14:234,70462,444,31515,052,89802,199,552
12Jul 27, 2022 14:234,71776,349,11615,095,32802,207,744