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:46Andrey TsvetkovAndrey TsvetkovScore: 5,699Success
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:465,65842,578,23516,095,0002,011,0002,527,232
2Jul 13, 2021 19:465,66645,735,52815,109,0003,021,0002,334,720
3Jul 13, 2021 19:465,67643,702,87515,136,0003,027,0002,326,528
4Jul 13, 2021 19:465,68245,177,94316,162,0002,020,0002,523,136
5Jul 13, 2021 19:465,68548,805,71616,171,0002,021,0002,334,720
6Jul 13, 2021 19:465,69487,087,07218,222,03802,224,128
7Jul 13, 2021 19:465,69984,138,56918,236,44402,232,320
8Jul 13, 2021 19:465,69942,083,82115,197,0003,039,0002,523,136
9Jul 13, 2021 19:465,70132,384,50416,217,0002,027,0002,387,968
10Jul 13, 2021 19:465,71340,603,55315,235,0003,047,0002,527,232
11Jul 13, 2021 19:465,73682,173,25818,356,24102,240,512
12Jul 13, 2021 19:465,75039,729,52216,355,0002,044,0002,519,040