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 listMay 29, 2021 16:54Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 17:0600000Error: expected "976626 ", got "976626543 15824 "
2May 29, 2021 16:545,03134,206,48714,088,0002,012,0002,404,352
3May 29, 2021 16:545,03728,872,56014,103,0002,014,0002,404,352
4May 29, 2021 16:545,04833,302,36414,135,0002,019,0002,412,544
5May 29, 2021 16:545,05936,069,89315,179,0001,011,0002,408,448
6May 29, 2021 16:545,06636,313,89314,185,0002,026,0002,281,472
7May 29, 2021 16:545,06933,242,57015,209,0001,013,0002,404,352
8May 29, 2021 16:545,07336,552,25515,220,0001,014,0002,281,472
9May 29, 2021 16:545,08339,535,29214,234,0002,033,0002,281,472
10May 29, 2021 16:545,09435,021,44416,302,00002,281,472
11May 29, 2021 16:545,23089,444,33716,736,17602,297,856
12May 29, 2021 16:545,23462,910,02116,748,17902,289,664
13May 29, 2021 16:545,25781,402,64616,823,83302,289,664