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 25, 2021 06:26Yuriy 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 25, 2021 06:2400000Wrong answer: expected "977529 ", got "532 15218 977529 "
2May 25, 2021 06:265,12035,973,77215,361,0001,024,0002,265,088
3May 25, 2021 06:265,12235,924,32016,390,00002,527,232
4May 25, 2021 06:265,13438,006,29716,430,00002,392,064
5May 25, 2021 06:265,13644,909,31115,409,0001,027,0002,498,560
6May 25, 2021 06:265,14133,621,44315,422,0001,028,0002,265,088
7May 25, 2021 06:265,14637,423,71616,466,00002,506,752
8May 25, 2021 06:265,16239,018,62015,486,0001,032,0002,396,160
9May 25, 2021 06:265,17932,215,30215,537,0001,035,0002,265,088
10May 25, 2021 06:265,19031,661,31515,571,0001,038,0002,527,232
11May 25, 2021 06:265,33775,435,55117,076,82402,273,280
12May 25, 2021 06:265,54281,774,68617,735,68802,273,280
13May 25, 2021 06:265,70647,088,65718,258,27902,273,280