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 13, 2021 19:30Yuriy LyfenkoYuriy LyfenkoScore: 5,735Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:305,690540,393,72816,186,0002,023,0002,523,136
2Jul 13, 2021 19:305,703542,536,71216,221,0002,027,0002,519,040
3Jul 13, 2021 19:305,707545,849,31415,219,0003,043,0002,334,720
4Jul 13, 2021 19:305,726544,635,01516,288,0002,036,0002,523,136
5Jul 13, 2021 19:305,727545,460,35416,291,0002,036,0002,330,624
6Jul 13, 2021 19:305,734538,436,99516,311,0002,038,0002,527,232
7Jul 13, 2021 19:305,735537,310,29118,351,00002,334,720
8Jul 13, 2021 19:305,749539,619,47517,375,0001,022,0002,519,040
9Jul 13, 2021 19:305,772574,260,05318,470,03902,252,800
10Jul 13, 2021 19:305,778572,810,22418,490,43402,256,896
11Jul 13, 2021 19:305,779541,413,01216,439,0002,054,0002,342,912
12Jul 13, 2021 19:305,798567,824,17218,552,91502,224,128