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:25Andrey TsvetkovAndrey TsvetkovScore: 5,757Success
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:255,69942,313,38515,197,0003,039,0002,334,720
2Jul 13, 2021 19:255,71933,734,68916,269,0002,033,0002,531,328
3Jul 13, 2021 19:255,73244,742,95416,305,0002,038,0002,334,720
4Jul 13, 2021 19:255,74140,847,45215,309,0003,061,0002,334,720
5Jul 13, 2021 19:255,74746,105,29516,347,0002,043,0002,334,720
6Jul 13, 2021 19:255,75337,278,81516,365,0002,045,0002,527,232
7Jul 13, 2021 19:255,75739,002,73616,376,0002,047,0002,334,720
8Jul 13, 2021 19:255,75840,414,09815,354,0003,070,0002,334,720
9Jul 13, 2021 19:255,76039,553,14716,384,0002,048,0002,523,136
10Jul 13, 2021 19:255,77857,486,50918,489,73202,228,224
11Jul 13, 2021 19:255,86477,532,63618,764,93702,236,416
12Jul 13, 2021 19:255,89679,075,94618,865,77002,224,128