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 30, 2024 12:07AnSaAnSaScore: 7,559Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 12:075,03490,569,23516,108,16502,244,608
2Jun 30, 2024 12:075,05989,656,62216,189,07502,252,800
3Jun 30, 2024 12:075,07296,659,02616,229,00402,252,800
4Jun 30, 2024 12:077,54244,261,74414,078,00010,055,0002,277,376
5Jun 30, 2024 12:077,54644,250,73513,080,00011,068,0002,281,472
6Jun 30, 2024 12:077,55048,842,20517,113,0007,046,0002,473,984
7Jun 30, 2024 12:077,55945,570,90714,111,00010,079,0002,396,160
8Jun 30, 2024 12:077,56243,717,66814,116,00010,083,0002,281,472
9Jun 30, 2024 12:077,56350,491,30815,126,0009,075,0002,392,064
10Jun 30, 2024 12:077,58143,078,91713,140,00011,118,0002,322,432
11Jun 30, 2024 12:077,58545,327,35513,147,00011,124,0002,281,472
12Jun 30, 2024 12:077,62149,334,72616,259,0008,129,0002,392,064