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:58Yuriy LyfenkoYuriy LyfenkoScore: 4,442Success
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:584,407542,763,24313,095,0001,007,0002,379,776
2Sep 7, 2022 02:584,410544,026,16012,096,0002,015,0002,392,064
3Sep 7, 2022 02:584,421541,332,33613,137,0001,010,0002,523,136
4Sep 7, 2022 02:584,423539,449,58513,143,0001,011,0002,523,136
5Sep 7, 2022 02:584,423540,531,44713,144,0001,011,0002,523,136
6Sep 7, 2022 02:584,428544,559,75112,144,0002,024,0002,265,088
7Sep 7, 2022 02:584,442538,379,80513,199,0001,015,0002,260,992
8Sep 7, 2022 02:584,442540,183,28713,200,0001,015,0002,523,136
9Sep 7, 2022 02:584,443541,680,38714,216,00002,265,088
10Sep 7, 2022 02:584,599572,109,78514,716,14702,277,376
11Sep 7, 2022 02:584,601579,923,99914,722,05202,244,608
12Sep 7, 2022 02:584,619575,168,56414,781,40702,273,280