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:27Yuriy LyfenkoYuriy LyfenkoScore: 4,520Success
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:274,486534,215,66713,331,0001,025,0002,260,992
2Sep 7, 2022 04:274,489536,517,92414,365,00002,260,992
3Sep 7, 2022 04:274,500537,549,84013,372,0001,028,0002,523,136
4Sep 7, 2022 04:274,503540,009,15613,380,0001,029,0002,392,064
5Sep 7, 2022 04:274,513538,607,62013,410,0001,031,0002,523,136
6Sep 7, 2022 04:274,517538,387,25413,423,0001,032,0002,523,136
7Sep 7, 2022 04:274,520540,507,85814,465,00002,523,136
8Sep 7, 2022 04:274,539549,654,69114,526,00002,260,992
9Sep 7, 2022 04:274,646541,122,14812,884,0001,982,0002,523,136
10Sep 7, 2022 04:274,664565,656,05214,924,18202,240,512
11Sep 7, 2022 04:274,673576,286,90714,952,20002,244,608
12Sep 7, 2022 04:274,696590,846,14115,025,90502,240,512