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 listJan 22, 2024 09:22Alexander MonakovAlexander MonakovScore: 4,554Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:224,52333,925,88714,474,00002,494,464
2Jan 22, 2024 09:224,52932,171,80514,492,00002,498,560
3Jan 22, 2024 09:224,53535,741,79614,512,00002,494,464
4Jan 22, 2024 09:224,53930,186,40714,524,00002,277,376
5Jan 22, 2024 09:224,54833,274,75614,554,00002,494,464
6Jan 22, 2024 09:224,55135,402,19814,562,00002,494,464
7Jan 22, 2024 09:224,55430,746,09514,573,00002,498,560
8Jan 22, 2024 09:224,55829,388,15114,585,00002,277,376
9Jan 22, 2024 09:224,56232,391,95514,597,00002,535,424
10Jan 22, 2024 09:224,77488,974,79315,277,27402,236,416
11Jan 22, 2024 09:224,79086,513,01215,326,75902,244,608
12Jan 22, 2024 09:224,80659,942,13815,378,42202,244,608