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 15, 2024 16:09джулисджулисScore: 5,263Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 16:095,18731,303,67815,562,0001,037,0002,375,680
2Jun 15, 2024 16:095,21345,458,87116,681,00002,293,760
3Jun 15, 2024 16:095,21340,554,95915,640,0001,042,0002,293,760
4Jun 15, 2024 16:095,21339,201,65715,641,0001,042,0002,367,488
5Jun 15, 2024 16:095,22046,290,72916,705,00002,367,488
6Jun 15, 2024 16:095,26052,148,80614,852,0001,980,0002,375,680
7Jun 15, 2024 16:095,26342,923,27714,860,0001,981,0002,453,504
8Jun 15, 2024 16:095,27345,144,73315,881,000992,0002,293,760
9Jun 15, 2024 16:095,27849,222,65614,903,0001,987,0002,293,760
10Jun 15, 2024 16:095,44686,852,79217,427,16302,371,584
11Jun 15, 2024 16:095,46994,068,34817,499,30602,244,608
12Jun 15, 2024 16:095,481111,609,68917,539,87902,236,416