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:09Yuriy LyfenkoYuriy LyfenkoScore: 5,670Success
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:095,6391,045,291,48115,038,0003,007,0002,523,136
2Jul 13, 2021 19:095,6491,044,716,86316,069,0002,008,0002,334,720
3Jul 13, 2021 19:095,6611,047,553,64115,095,0003,019,0002,330,624
4Jul 13, 2021 19:095,6621,042,651,25516,105,0002,013,0002,334,720
5Jul 13, 2021 19:095,6631,043,020,23417,115,0001,006,0002,519,040
6Jul 13, 2021 19:095,6671,043,111,06815,113,0003,022,0002,330,624
7Jul 13, 2021 19:095,6701,037,520,05817,137,0001,008,0002,531,328
8Jul 13, 2021 19:095,6851,089,511,05118,193,07102,256,896
9Jul 13, 2021 19:095,6941,043,126,88716,197,0002,024,0002,523,136
10Jul 13, 2021 19:095,6991,043,556,33015,198,0003,039,0002,330,624
11Jul 13, 2021 19:095,7251,067,851,94618,320,73702,256,896
12Jul 13, 2021 19:095,7621,075,872,32218,439,25402,252,800