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 12:57Vladimir KuryakovVladimir KuryakovScore: 5,648Success
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 12:575,61347,207,61516,963,000997,0002,519,040
2May 23, 2021 12:575,62638,361,16415,002,0003,000,0002,379,776
3May 23, 2021 12:575,62745,067,72815,888,0002,118,0002,523,136
4May 23, 2021 12:575,62945,354,09716,013,0002,001,0002,519,040
5May 23, 2021 12:575,63440,563,21016,025,0002,003,0002,392,064
6May 23, 2021 12:575,64142,158,65517,050,0001,002,0002,387,968
7May 23, 2021 12:575,64831,344,88916,064,0002,008,0002,387,968
8May 23, 2021 12:575,65234,415,45917,083,0001,004,0002,519,040
9May 23, 2021 12:575,68235,643,93118,181,00002,519,040
10May 23, 2021 12:575,87881,405,71018,808,18102,273,280
11May 23, 2021 12:575,91181,022,04018,914,57702,269,184
12May 23, 2021 12:575,91279,788,70918,918,47202,277,376