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:02Egor 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:025,11637,586,36216,370,00002,494,464
2Apr 7, 2022 21:025,12137,293,14516,388,00002,494,464
3Apr 7, 2022 21:025,12638,273,74416,403,00002,277,376
4Apr 7, 2022 21:025,13943,129,01716,444,00002,494,464
5Apr 7, 2022 21:025,14036,043,28916,447,00002,277,376
6Apr 7, 2022 21:025,14642,383,42916,466,00002,498,560
7Apr 7, 2022 21:025,15834,407,62216,504,00002,494,464
8Apr 7, 2022 21:025,17438,744,83416,557,00002,498,560
9Apr 7, 2022 21:025,17636,176,66616,563,00002,494,464
10Apr 7, 2022 21:025,38293,741,93517,223,17902,240,512
11Apr 7, 2022 21:025,39879,097,04317,272,23502,240,512
12Apr 7, 2022 21:025,41267,122,52717,318,26902,248,704