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:29Andrey TsvetkovAndrey TsvetkovScore: 5,705Success
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:295,66344,216,02815,100,0003,020,0002,334,720
2Jun 29, 2021 22:295,66947,732,91716,126,0002,015,0002,334,720
3Jun 29, 2021 22:295,68534,471,68616,170,0002,021,0002,334,720
4Jun 29, 2021 22:295,69636,853,81115,189,0003,037,0002,531,328
5Jun 29, 2021 22:295,69939,032,74716,212,0002,026,0002,334,720
6Jun 29, 2021 22:295,70450,097,97916,225,0002,028,0002,523,136
7Jun 29, 2021 22:295,70541,009,74316,228,0002,028,0002,523,136
8Jun 29, 2021 22:295,71336,583,61617,267,0001,015,0002,527,232
9Jun 29, 2021 22:295,72693,513,33018,322,38502,232,320
10Jun 29, 2021 22:295,73836,266,28216,320,0002,040,0002,334,720
11Jun 29, 2021 22:295,77082,871,57718,465,54902,236,416
12Jun 29, 2021 22:295,85584,911,79918,736,57402,228,224