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:27Andrey TsvetkovAndrey TsvetkovScore: 5,704Success
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:275,64849,333,35616,067,0002,008,0002,334,720
2Jul 13, 2021 19:275,67439,078,48315,131,0003,026,0002,531,328
3Jul 13, 2021 19:275,67749,502,53415,138,0003,027,0002,514,944
4Jul 13, 2021 19:275,68043,722,25016,157,0002,019,0002,519,040
5Jul 13, 2021 19:275,68643,797,49316,175,0002,021,0002,531,328
6Jul 13, 2021 19:275,69536,992,90417,211,0001,012,0002,334,720
7Jul 13, 2021 19:275,70437,587,08715,212,0003,042,0002,523,136
8Jul 13, 2021 19:275,71342,151,39416,250,0002,031,0002,334,720
9Jul 13, 2021 19:275,71689,396,81618,291,60102,228,224
10Jul 13, 2021 19:275,71876,132,34318,299,01002,244,608
11Jul 13, 2021 19:275,72339,711,19916,279,0002,034,0002,527,232
12Jul 13, 2021 19:275,97487,558,01619,116,23302,256,896