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 02:10Yuriy LyfenkoYuriy LyfenkoScore: 4,437Success
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 02:104,405541,695,23213,090,0001,006,0002,260,992
2Sep 7, 2022 02:104,409538,545,04312,093,0002,015,0002,523,136
3Sep 7, 2022 02:104,416543,371,65513,121,0001,009,0002,527,232
4Sep 7, 2022 02:104,431539,104,07812,154,0002,025,0002,265,088
5Sep 7, 2022 02:104,432550,319,21612,156,0002,026,0002,523,136
6Sep 7, 2022 02:104,436542,398,76314,196,00002,523,136
7Sep 7, 2022 02:104,437537,272,66013,185,0001,014,0002,260,992
8Sep 7, 2022 02:104,452539,095,47914,247,00002,392,064
9Sep 7, 2022 02:104,465540,293,81413,269,0001,020,0002,523,136
10Sep 7, 2022 02:104,599573,306,93514,718,11002,240,512
11Sep 7, 2022 02:104,631568,606,96014,818,72702,240,512
12Sep 7, 2022 02:104,631573,679,56914,820,53902,273,280