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 8, 2024 11:13джулисджулисScore: 5,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 11:135,68039,316,45217,167,0001,009,0002,367,488
2Jun 8, 2024 11:135,68141,226,71517,169,0001,009,0002,379,776
3Jun 8, 2024 11:135,68843,361,54816,178,0002,022,0002,367,488
4Jun 8, 2024 11:135,68945,136,71616,182,0002,022,0002,375,680
5Jun 8, 2024 11:135,69039,013,59417,197,0001,011,0002,375,680
6Jun 8, 2024 11:135,69442,890,21017,209,0001,012,0002,371,584
7Jun 8, 2024 11:135,69645,261,31016,203,0002,025,0002,293,760
8Jun 8, 2024 11:135,69941,163,99617,225,0001,013,0002,367,488
9Jun 8, 2024 11:135,74941,032,57617,376,0001,022,0002,293,760
10Jun 8, 2024 11:135,88692,805,27818,834,32502,240,512
11Jun 8, 2024 11:135,93798,530,42818,996,81602,236,416
12Jun 8, 2024 11:135,95476,921,89419,053,54202,240,512