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 listJun 20, 2021 18:56Andrey TsvetkovAndrey TsvetkovScore: 5,718Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 18:565,68543,155,67215,161,0003,032,0002,334,720
2Jun 20, 2021 18:565,68735,366,74516,176,0002,022,0002,334,720
3Jun 20, 2021 18:565,69144,641,76515,175,0003,035,0002,326,528
4Jun 20, 2021 18:565,70040,698,36016,214,0002,026,0002,334,720
5Jun 20, 2021 18:565,71239,229,52215,232,0003,046,0002,531,328
6Jun 20, 2021 18:565,71338,988,12316,250,0002,031,0002,326,528
7Jun 20, 2021 18:565,71839,602,34316,265,0002,033,0002,334,720
8Jun 20, 2021 18:565,72340,271,26415,261,0003,052,0002,334,720
9Jun 20, 2021 18:565,74692,910,49918,385,94902,232,320
10Jun 20, 2021 18:565,76543,583,42516,398,0002,049,0002,334,720
11Jun 20, 2021 18:565,79782,017,72418,549,05202,240,512
12Jun 20, 2021 18:565,87375,704,96718,794,76202,236,416