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 13, 2024 19:56джулисджулисScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 19:565,26644,027,11014,869,0001,982,0002,293,760
2Jun 13, 2024 19:565,26842,372,01114,873,0001,983,0002,375,680
3Jun 13, 2024 19:565,26834,906,98415,865,000991,0002,293,760
4Jun 13, 2024 19:565,26841,194,90314,876,0001,983,0002,289,664
5Jun 13, 2024 19:565,27044,801,62114,881,0001,984,0002,293,760
6Jun 13, 2024 19:565,27145,659,82016,867,00002,473,984
7Jun 13, 2024 19:565,27444,450,50014,891,0001,985,0002,478,080
8Jun 13, 2024 19:565,27832,293,45415,836,0001,055,0002,293,760
9Jun 13, 2024 19:565,28245,386,15514,915,0001,988,0002,293,760
10Jun 13, 2024 19:565,48371,187,72317,544,30602,244,608
11Jun 13, 2024 19:565,50263,351,30017,606,57102,244,608
12Jun 13, 2024 19:565,52698,795,21417,684,51902,240,512