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 2, 2021 15:59Yuriy LyfenkoYuriy LyfenkoScore: 5,075Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 15:595,02040,964,77014,057,0002,008,0002,523,136
2Jun 2, 2021 15:595,02840,658,10014,079,0002,011,0002,265,088
3Jun 2, 2021 15:595,04147,556,09315,122,0001,008,0002,265,088
4Jun 2, 2021 15:595,05133,388,00814,142,0002,020,0002,392,064
5Jun 2, 2021 15:595,06036,589,37315,180,0001,012,0002,396,160
6Jun 2, 2021 15:595,07046,736,83414,197,0002,028,0002,265,088
7Jun 2, 2021 15:595,07548,728,73414,210,0002,030,0002,265,088
8Jun 2, 2021 15:595,07634,228,06515,229,0001,015,0002,392,064
9Jun 2, 2021 15:595,09537,841,59215,285,0001,019,0002,265,088
10Jun 2, 2021 15:595,29090,186,15716,928,80802,281,472
11Jun 2, 2021 15:595,30366,893,28516,970,03002,285,568
12Jun 2, 2021 15:595,35575,948,87817,135,37502,273,280