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:26Robert BurkeRobert BurkeScore: 4,448Success
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:264,42429,391,91512,134,0002,022,0002,277,376
2Jul 27, 2022 14:264,43529,957,53012,164,0002,027,0002,281,472
3Jul 27, 2022 14:264,43933,221,74512,175,0002,029,0002,281,472
4Jul 27, 2022 14:264,43934,707,00112,177,0002,029,0002,281,472
5Jul 27, 2022 14:264,44131,384,46612,181,0002,030,0002,273,280
6Jul 27, 2022 14:264,44427,906,63912,189,0002,031,0002,281,472
7Jul 27, 2022 14:264,44836,526,41012,199,0002,033,0002,281,472
8Jul 27, 2022 14:264,45834,894,87613,247,0001,019,0002,281,472
9Jul 27, 2022 14:264,48536,361,23913,328,0001,025,0002,445,312
10Jul 27, 2022 14:264,69072,290,89515,007,21002,195,456
11Jul 27, 2022 14:264,70284,619,13015,044,86002,203,648
12Jul 27, 2022 14:264,72574,729,19115,119,21902,203,648