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 23, 2021 13:22Vladimir KuryakovVladimir KuryakovScore: 5,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 13:225,68442,077,77617,178,0001,010,0002,519,040
2May 23, 2021 13:225,69343,365,67115,182,0003,036,0002,519,040
3May 23, 2021 13:225,69345,045,15017,206,0001,012,0002,379,776
4May 23, 2021 13:225,69644,882,96216,202,0002,025,0002,519,040
5May 23, 2021 13:225,70145,545,80617,229,0001,013,0002,519,040
6May 23, 2021 13:225,70473,111,48018,251,91602,285,568
7May 23, 2021 13:225,70847,807,20416,238,0002,029,0002,519,040
8May 23, 2021 13:225,73239,574,15615,285,0003,057,0002,387,968
9May 23, 2021 13:225,75340,401,69016,363,0002,045,0002,265,088
10May 23, 2021 13:225,75767,771,57518,421,77102,285,568
11May 23, 2021 13:225,75937,467,93017,405,0001,023,0002,519,040
12May 23, 2021 13:225,77161,641,02118,465,91902,285,568