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:14Yuriy LyfenkoYuriy LyfenkoScore: 5,053Success
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:145,02945,489,67014,083,0002,011,0002,265,088
2Jul 6, 2021 00:145,02936,105,30914,083,0002,011,0002,387,968
3Jul 6, 2021 00:145,03145,191,97915,093,0001,006,0002,392,064
4Jul 6, 2021 00:145,04640,925,40115,137,0001,009,0002,392,064
5Jul 6, 2021 00:145,04644,086,77415,138,0001,009,0002,256,896
6Jul 6, 2021 00:145,05233,582,95714,145,0002,020,0002,265,088
7Jul 6, 2021 00:145,05339,242,10015,158,0001,010,0002,265,088
8Jul 6, 2021 00:145,05841,313,03715,176,0001,011,0002,379,776
9Jul 6, 2021 00:145,06333,585,44915,190,0001,012,0002,265,088
10Jul 6, 2021 00:145,23084,834,52316,736,94302,273,280
11Jul 6, 2021 00:145,25079,612,62016,801,45102,281,472
12Jul 6, 2021 00:145,26987,158,47816,859,53502,281,472