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:05Vladimir KuryakovVladimir KuryakovScore: 5,633Success
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:055,61141,736,50716,958,000997,0002,519,040
2May 23, 2021 13:055,61343,666,20115,967,0001,995,0002,523,136
3May 23, 2021 13:055,61343,925,82016,965,000997,0002,519,040
4May 23, 2021 13:055,61543,426,41715,973,0001,996,0002,519,040
5May 23, 2021 13:055,61743,143,83414,978,0002,995,0002,383,872
6May 23, 2021 13:055,63337,994,45816,022,0002,002,0002,519,040
7May 23, 2021 13:055,63346,840,37517,025,0001,001,0002,519,040
8May 23, 2021 13:055,63443,797,85916,026,0002,003,0002,498,560
9May 23, 2021 13:055,66245,031,10616,106,0002,013,0002,519,040
10May 23, 2021 13:055,88381,293,66718,825,01402,277,376
11May 23, 2021 13:055,90878,892,90318,904,03302,277,376
12May 23, 2021 13:055,92886,552,10218,968,30602,281,472