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 listSep 4, 2021 22:01Andrey TsvetkovAndrey TsvetkovScore: 5,846Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 22:015,82846,034,20718,651,00002,342,912
2Sep 4, 2021 22:015,83343,836,79918,667,00002,445,312
3Sep 4, 2021 22:015,83446,165,12217,631,0001,037,0002,342,912
4Sep 4, 2021 22:015,83541,558,43817,634,0001,037,0002,342,912
5Sep 4, 2021 22:015,84248,070,90718,695,00002,342,912
6Sep 4, 2021 22:015,84447,322,72018,700,00002,437,120
7Sep 4, 2021 22:015,84634,494,09317,668,0001,039,0002,342,912
8Sep 4, 2021 22:015,85085,390,17618,719,64202,269,184
9Sep 4, 2021 22:015,86583,675,36218,766,83102,281,472
10Sep 4, 2021 22:015,89593,879,30518,865,31502,285,568
11Sep 4, 2021 22:015,89943,427,95417,883,000993,0002,342,912
12Sep 4, 2021 22:015,90043,858,92816,894,0001,987,0002,539,520