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 listJul 30, 2024 11:43BenBenScore: 4,551Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 11:434,53638,359,17813,478,0001,036,0002,265,088
2Jul 30, 2024 11:434,54040,080,15413,492,0001,037,0002,527,232
3Jul 30, 2024 11:434,54539,165,75314,545,00002,375,680
4Jul 30, 2024 11:434,54635,000,71914,548,00002,367,488
5Jul 30, 2024 11:434,54934,136,34414,558,00002,375,680
6Jul 30, 2024 11:434,55030,130,85314,559,00002,375,680
7Jul 30, 2024 11:434,55131,969,90814,564,00002,379,776
8Jul 30, 2024 11:434,55731,668,16114,582,00002,367,488
9Jul 30, 2024 11:434,56032,125,50814,592,00002,265,088
10Jul 30, 2024 11:434,78688,672,00315,315,29102,240,512
11Jul 30, 2024 11:434,81481,780,54615,403,34702,265,088
12Jul 30, 2024 11:434,82174,931,64715,426,28502,265,088