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 13, 2021 10:49Dmitry DolgopolovDmitry DolgopolovScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 10:495,58240,616,90915,879,0001,984,0002,531,328
2Jun 13, 2021 10:495,58345,973,26515,880,0001,985,0002,531,328
3Jun 13, 2021 10:495,58444,085,18215,883,0001,985,0002,441,216
4Jun 13, 2021 10:495,58535,292,97815,886,0001,985,0002,269,184
5Jun 13, 2021 10:495,58741,792,66815,891,0001,986,0002,531,328
6Jun 13, 2021 10:495,58739,366,61816,885,000993,0002,449,408
7Jun 13, 2021 10:495,58739,033,48315,892,0001,986,0002,449,408
8Jun 13, 2021 10:495,59734,031,46916,858,0001,053,0002,269,184
9Jun 13, 2021 10:495,60042,881,08415,928,0001,991,0002,449,408
10Jun 13, 2021 10:495,75681,615,96618,418,71402,215,936
11Jun 13, 2021 10:495,76879,238,75318,456,57402,207,744
12Jun 13, 2021 10:495,81259,584,17718,597,20102,203,648