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 listMay 25, 2021 10:51Egor SergeevEgor SergeevScore: 5,629Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 10:515,57933,723,09414,879,0002,975,0002,277,376
2May 25, 2021 10:515,58646,297,15914,896,0002,979,0002,277,376
3May 25, 2021 10:515,58739,296,34916,884,000993,0002,281,472
4May 25, 2021 10:515,59540,703,50415,915,0001,989,0002,273,280
5May 25, 2021 10:515,61140,981,70815,960,0001,995,0002,277,376
6May 25, 2021 10:515,62036,892,43815,986,0001,998,0002,289,664
7May 25, 2021 10:515,62943,456,68916,012,0002,001,0002,277,376
8May 25, 2021 10:515,65138,864,27216,074,0002,009,0002,273,280
9May 25, 2021 10:515,65242,525,78916,076,0002,009,0002,273,280
10May 25, 2021 10:515,81753,415,03618,612,97102,170,880
11May 25, 2021 10:515,84146,748,03718,690,17202,293,760
12May 25, 2021 10:515,90789,722,65418,901,51102,293,760