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:07джулисджулисScore: 5,226Success
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:075,19533,062,39616,625,00002,375,680
2Jun 15, 2024 16:075,20049,178,40815,600,0001,040,0002,293,760
3Jun 15, 2024 16:075,20242,073,10115,606,0001,040,0002,293,760
4Jun 15, 2024 16:075,20342,008,00515,611,0001,040,0002,502,656
5Jun 15, 2024 16:075,20437,389,49615,612,0001,040,0002,383,872
6Jun 15, 2024 16:075,20733,058,07015,622,0001,041,0002,289,664
7Jun 15, 2024 16:075,22637,156,97316,723,00002,375,680
8Jun 15, 2024 16:075,22833,994,07915,683,0001,045,0002,371,584
9Jun 15, 2024 16:075,27147,388,94814,884,0001,984,0002,453,504
10Jun 15, 2024 16:075,45659,020,38217,460,49002,375,680
11Jun 15, 2024 16:075,46988,369,80017,500,30602,232,320
12Jun 15, 2024 16:075,471100,356,06717,506,90202,383,872