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 6, 2021 00:42Yuriy LyfenkoYuriy LyfenkoScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:425,2441,045,705,54114,806,0001,974,0002,265,088
2Jul 6, 2021 00:425,2491,042,730,83414,820,0001,976,0002,523,136
3Jul 6, 2021 00:425,2491,042,061,40215,810,000988,0002,260,992
4Jul 6, 2021 00:425,2511,043,958,98014,826,0001,976,0002,260,992
5Jul 6, 2021 00:425,2561,049,012,54116,818,00002,527,232
6Jul 6, 2021 00:425,2661,047,184,95315,861,000991,0002,523,136
7Jul 6, 2021 00:425,2731,043,443,80114,888,0001,985,0002,260,992
8Jul 6, 2021 00:425,2781,042,823,95415,895,000993,0002,260,992
9Jul 6, 2021 00:425,2791,043,713,45314,906,0001,987,0002,519,040
10Jul 6, 2021 00:425,4081,073,793,02217,306,74802,240,512
11Jul 6, 2021 00:425,4121,086,220,82217,316,99402,240,512
12Jul 6, 2021 00:425,4301,085,418,77617,377,34702,269,184