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 9, 2024 21:55джулисджулисScore: 5,280Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 21:555,27449,447,44016,876,00002,367,488
2Jun 9, 2024 21:555,27432,743,83916,876,00002,371,584
3Jun 9, 2024 21:555,27644,535,31314,898,0001,986,0002,293,760
4Jun 9, 2024 21:555,27748,453,15014,899,0001,986,0002,469,888
5Jun 9, 2024 21:555,27746,523,84314,900,0001,986,0002,293,760
6Jun 9, 2024 21:555,27835,835,19615,896,000993,0002,293,760
7Jun 9, 2024 21:555,28045,775,97214,909,0001,987,0002,293,760
8Jun 9, 2024 21:555,28043,028,68016,896,00002,379,776
9Jun 9, 2024 21:555,28245,264,49215,908,000994,0002,293,760
10Jun 9, 2024 21:555,49688,781,28717,586,42702,260,992
11Jun 9, 2024 21:555,50980,843,96917,627,45902,256,896
12Jun 9, 2024 21:555,62077,667,45217,983,13902,252,800