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 listJul 8, 2021 15:44Yuriy LyfenkoYuriy LyfenkoScore: 4,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 15:444,490287,577,80514,369,00002,527,232
2Jul 8, 2021 15:444,500287,815,26014,401,00002,265,088
3Jul 8, 2021 15:444,502288,662,89413,378,0001,029,0002,392,064
4Jul 8, 2021 15:444,514288,154,16113,413,0001,031,0002,265,088
5Jul 8, 2021 15:444,520288,626,41113,431,0001,033,0002,523,136
6Jul 8, 2021 15:444,522286,756,31513,437,0001,033,0002,392,064
7Jul 8, 2021 15:444,523286,719,68013,440,0001,033,0002,265,088
8Jul 8, 2021 15:444,536292,536,68413,479,0001,036,0002,265,088
9Jul 8, 2021 15:444,554292,614,55013,533,0001,041,0002,523,136
10Jul 8, 2021 15:444,647321,537,40214,870,85402,285,568
11Jul 8, 2021 15:444,664316,362,09314,925,35502,289,664
12Jul 8, 2021 15:444,675338,205,85014,958,68002,281,472