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 18:25matsuoka-601matsuoka-601Score: 4,829Success
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 18:254,75943,455,90214,214,0001,015,0002,293,760
2Jun 9, 2024 18:254,79336,341,81614,316,0001,022,0002,293,760
3Jun 9, 2024 18:254,79943,138,94615,356,00002,277,376
4Jun 9, 2024 18:254,80135,640,19214,339,0001,024,0002,273,280
5Jun 9, 2024 18:254,80436,541,79215,374,00002,293,760
6Jun 9, 2024 18:254,81338,726,02214,376,0001,026,0002,293,760
7Jun 9, 2024 18:254,82929,962,36114,422,0001,030,0002,281,472
8Jun 9, 2024 18:254,83335,911,88114,434,0001,031,0002,281,472
9Jun 9, 2024 18:254,83542,557,62914,442,0001,031,0002,363,392
10Jun 9, 2024 18:255,04182,386,58416,130,83002,183,168
11Jun 9, 2024 18:255,05081,833,81816,159,96402,310,144
12Jun 9, 2024 18:255,07387,983,77416,232,18402,306,048