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 8, 2021 14:01Yuriy LyfenkoYuriy LyfenkoScore: 5,367Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 14:015,31432,276,17515,004,0002,000,0002,527,232
2Jul 8, 2021 14:015,31932,405,76815,019,0002,002,0002,265,088
3Jul 8, 2021 14:015,33940,344,71217,085,00002,265,088
4Jul 8, 2021 14:015,35045,213,83615,106,0002,014,0002,392,064
5Jul 8, 2021 14:015,35742,815,14316,133,0001,008,0002,387,968
6Jul 8, 2021 14:015,36634,132,78816,161,0001,010,0002,265,088
7Jul 8, 2021 14:015,36747,296,16515,154,0002,020,0002,265,088
8Jul 8, 2021 14:015,36842,703,23616,166,0001,010,0002,265,088
9Jul 8, 2021 14:015,38443,525,00116,217,0001,013,0002,387,968
10Jul 8, 2021 14:015,50779,070,40017,623,24202,277,376
11Jul 8, 2021 14:015,52172,529,39017,665,64502,265,088
12Jul 8, 2021 14:015,55073,060,65917,760,15702,277,376