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 listFeb 25, 2023 23:10Andranik ChakiryanAndranik ChakiryanScore: 5,723Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 23:105,69736,913,95216,204,0002,025,0002,338,816
2Feb 25, 2023 23:105,70342,054,21015,209,0003,041,0002,347,008
3Feb 25, 2023 23:105,70538,120,80117,242,0001,014,0002,359,296
4Feb 25, 2023 23:105,70745,983,98317,248,0001,014,0002,342,912
5Feb 25, 2023 23:105,71438,440,08017,269,0001,015,0002,342,912
6Feb 25, 2023 23:105,71936,634,17016,268,0002,033,0002,342,912
7Feb 25, 2023 23:105,72341,078,25116,280,0002,035,0002,355,200
8Feb 25, 2023 23:105,73638,231,84317,336,0001,019,0002,342,912
9Feb 25, 2023 23:105,74039,047,03917,347,0001,020,0002,342,912
10Feb 25, 2023 23:105,78793,818,88418,518,59502,199,552
11Feb 25, 2023 23:105,78787,118,15418,518,01002,187,264
12Feb 25, 2023 23:105,88789,620,16718,839,37602,187,264