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 27, 2021 18:04Yurkov AlekseyYurkov AlekseyScore: 5,627Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:045,60440,478,08615,942,0001,992,0002,265,088
2May 27, 2021 18:045,60533,181,99715,943,0001,992,0002,289,664
3May 27, 2021 18:045,60635,179,94915,947,0001,993,0002,289,664
4May 27, 2021 18:045,61038,942,47915,958,0001,994,0002,289,664
5May 27, 2021 18:045,61141,225,29616,958,000997,0002,289,664
6May 27, 2021 18:045,61337,920,38515,965,0001,995,0002,527,232
7May 27, 2021 18:045,62740,957,63716,005,0002,000,0002,289,664
8May 27, 2021 18:045,62840,737,52716,010,0002,001,0002,523,136
9May 27, 2021 18:045,65641,553,62817,093,0001,005,0002,289,664
10May 27, 2021 18:045,81652,045,62918,610,82802,170,880
11May 27, 2021 18:045,83367,651,57318,665,54702,170,880
12May 27, 2021 18:045,86689,088,51518,770,07502,297,856