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 17:38ii14ii14Score: 5,691Success
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 17:385,65341,010,56916,080,0002,010,0002,383,872
2Jun 15, 2024 17:385,65846,233,80614,083,0004,023,0002,519,040
3Jun 15, 2024 17:385,65944,029,78417,102,0001,006,0002,379,776
4Jun 15, 2024 17:385,66649,209,40417,125,0001,007,0002,383,872
5Jun 15, 2024 17:385,67334,717,65916,136,0002,017,0002,519,040
6Jun 15, 2024 17:385,67448,096,41616,141,0002,017,0002,519,040
7Jun 15, 2024 17:385,69142,332,87916,188,0002,023,0002,519,040
8Jun 15, 2024 17:385,70941,162,11017,255,0001,015,0002,519,040
9Jun 15, 2024 17:385,71546,924,80616,257,0002,032,0002,379,776
10Jun 15, 2024 17:385,91372,339,13418,920,84102,289,664
11Jun 15, 2024 17:385,94888,267,26819,033,30602,289,664
12Jun 15, 2024 17:385,96886,682,55019,096,76602,273,280