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 listApr 7, 2022 21:01Egor SergeevEgor SergeevScore: 5,158Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 21:015,10837,242,23316,345,00002,498,560
2Apr 7, 2022 21:015,11341,304,41216,361,00002,494,464
3Apr 7, 2022 21:015,12039,056,58916,383,00002,494,464
4Apr 7, 2022 21:015,12832,676,81516,411,00002,494,464
5Apr 7, 2022 21:015,14028,615,42216,447,00002,494,464
6Apr 7, 2022 21:015,14639,192,63616,466,00002,498,560
7Apr 7, 2022 21:015,15844,272,15116,507,00002,277,376
8Apr 7, 2022 21:015,16835,232,39516,539,00002,535,424
9Apr 7, 2022 21:015,17129,732,58916,548,00002,277,376
10Apr 7, 2022 21:015,38682,991,89417,236,56602,244,608
11Apr 7, 2022 21:015,39791,142,43317,269,97502,236,416
12Apr 7, 2022 21:015,41683,647,11517,330,09802,244,608