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 listSep 7, 2022 04:15Yuriy LyfenkoYuriy LyfenkoScore: 4,932Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:154,906542,197,50114,718,000981,0002,527,232
2Sep 7, 2022 04:154,928543,476,68914,786,000985,0002,523,136
3Sep 7, 2022 04:154,928541,282,24114,786,000985,0002,523,136
4Sep 7, 2022 04:154,929542,607,14613,802,0001,971,0002,523,136
5Sep 7, 2022 04:154,929545,882,36913,803,0001,971,0002,523,136
6Sep 7, 2022 04:154,930545,124,25614,790,000986,0002,392,064
7Sep 7, 2022 04:154,932545,057,94714,797,000986,0002,269,184
8Sep 7, 2022 04:154,933540,915,92713,811,0001,973,0002,260,992
9Sep 7, 2022 04:154,933547,593,07413,814,0001,973,0002,260,992
10Sep 7, 2022 04:155,060575,547,79916,193,50402,244,608
11Sep 7, 2022 04:155,084581,961,70616,267,89102,240,512
12Sep 7, 2022 04:155,113581,467,58716,363,09602,244,608