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 listJun 9, 2024 14:12AndreyTSAndreyTSScore: 5,375Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:125,34341,646,82516,091,0001,005,0002,289,664
2Jun 9, 2024 14:125,35042,064,19815,107,0002,014,0002,289,664
3Jun 9, 2024 14:125,36038,885,08315,134,0002,017,0002,519,040
4Jun 9, 2024 14:125,36743,455,45416,163,0001,010,0002,289,664
5Jun 9, 2024 14:125,36742,968,49115,155,0002,020,0002,289,664
6Jun 9, 2024 14:125,36839,762,21815,158,0002,021,0002,289,664
7Jun 9, 2024 14:125,37540,970,76915,176,0002,023,0002,269,184
8Jun 9, 2024 14:125,39643,657,18415,235,0002,031,0002,289,664
9Jun 9, 2024 14:125,41340,288,87515,283,0002,037,0002,265,088
10Jun 9, 2024 14:125,58084,484,59517,855,03402,174,976
11Jun 9, 2024 14:125,62666,825,59418,003,66402,174,976
12Jun 9, 2024 14:125,66979,969,01618,141,97502,297,856