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 16, 2021 22:00Andrey TsvetkovAndrey TsvetkovScore: 5,715Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2021 22:005,67133,960,15715,124,0003,024,0002,531,328
2Jun 16, 2021 22:005,67240,678,25715,125,0003,025,0002,523,136
3Jun 16, 2021 22:005,67337,365,56615,127,0003,025,0002,334,720
4Jun 16, 2021 22:005,67940,323,04115,145,0003,029,0002,531,328
5Jun 16, 2021 22:005,69934,454,31215,198,0003,039,0002,527,232
6Jun 16, 2021 22:005,71039,793,88615,228,0003,045,0002,334,720
7Jun 16, 2021 22:005,71587,432,72218,288,35402,236,416
8Jun 16, 2021 22:005,72242,708,44116,276,0002,034,0002,531,328
9Jun 16, 2021 22:005,74141,860,46115,310,0003,062,0002,334,720
10Jun 16, 2021 22:005,75142,295,42515,336,0003,067,0002,334,720
11Jun 16, 2021 22:005,79760,379,48418,548,88902,244,608
12Jun 16, 2021 22:005,90688,149,72718,897,70302,232,320