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 24, 2022 12:20Robert BurkeRobert BurkeScore: 4,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:204,43328,196,59812,161,0002,026,0002,281,472
2Jul 24, 2022 12:204,44235,721,81212,185,0002,030,0002,445,312
3Jul 24, 2022 12:204,44331,626,46012,186,0002,031,0002,281,472
4Jul 24, 2022 12:204,45336,707,65912,213,0002,035,0002,281,472
5Jul 24, 2022 12:204,45636,903,67013,240,0001,018,0002,281,472
6Jul 24, 2022 12:204,46028,738,57812,233,0002,038,0002,281,472
7Jul 24, 2022 12:204,46027,320,69413,254,0001,019,0002,277,376
8Jul 24, 2022 12:204,47230,338,23712,267,0002,044,0002,281,472
9Jul 24, 2022 12:204,47835,895,61513,306,0001,023,0002,281,472
10Jul 24, 2022 12:204,68457,108,77214,989,59602,207,744
11Jul 24, 2022 12:204,71577,149,69715,089,29002,215,936
12Jul 24, 2022 12:204,82094,732,68415,423,26402,203,648