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 5, 2021 06:45Ilya AniskovetsIlya AniskovetsScore: 5,512Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 06:455,46633,100,84216,463,0001,028,0002,277,376
2Sep 5, 2021 06:455,47035,297,15317,503,00002,281,472
3Sep 5, 2021 06:455,48938,102,37717,565,00002,277,376
4Sep 5, 2021 06:455,49232,647,70916,542,0001,033,0002,289,664
5Sep 5, 2021 06:455,49341,274,82717,579,00002,277,376
6Sep 5, 2021 06:455,50446,844,51316,577,0001,036,0002,289,664
7Sep 5, 2021 06:455,51244,702,85017,638,00002,289,664
8Sep 5, 2021 06:455,51544,510,67816,610,0001,038,0002,281,472
9Sep 5, 2021 06:455,53634,249,58116,674,0001,042,0002,289,664
10Sep 5, 2021 06:455,64385,993,90918,058,94702,252,800
11Sep 5, 2021 06:455,65584,660,60418,094,66802,297,856
12Sep 5, 2021 06:455,68296,732,45218,182,02702,174,976