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 29, 2021 22:42Andrey TsvetkovAndrey TsvetkovScore: 5,707Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2021 22:425,66539,886,65016,114,0002,014,0002,334,720
2Jun 29, 2021 22:425,67148,335,45716,130,0002,016,0002,330,624
3Jun 29, 2021 22:425,67843,524,07716,151,0002,018,0002,527,232
4Jun 29, 2021 22:425,68844,505,87216,178,0002,022,0002,531,328
5Jun 29, 2021 22:425,68942,134,10015,171,0003,034,0002,527,232
6Jun 29, 2021 22:425,69843,587,44316,209,0002,026,0002,523,136
7Jun 29, 2021 22:425,70745,119,24716,234,0002,029,0002,531,328
8Jun 29, 2021 22:425,71138,984,59616,245,0002,030,0002,527,232
9Jun 29, 2021 22:425,71843,980,64015,248,0003,049,0002,334,720
10Jun 29, 2021 22:425,74992,755,63118,397,90202,220,032
11Jun 29, 2021 22:425,78469,062,33318,507,22502,228,224
12Jun 29, 2021 22:425,86577,161,18218,767,98902,232,320