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 listJun 27, 2021 22:42gchebanovgchebanovScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 22:425,51947,067,36416,622,0001,038,0002,273,280
2Jun 27, 2021 22:425,52341,686,77816,633,0001,039,0002,289,664
3Jun 27, 2021 22:425,52545,753,31316,640,0001,040,0002,281,472
4Jun 27, 2021 22:425,53935,094,59316,682,0001,042,0002,289,664
5Jun 27, 2021 22:425,54744,547,90416,705,0001,044,0002,387,968
6Jun 27, 2021 22:425,57835,723,42216,859,000991,0002,289,664
7Jun 27, 2021 22:425,58234,573,54515,879,0001,984,0002,359,296
8Jun 27, 2021 22:425,58547,735,65115,886,0001,985,0002,289,664
9Jun 27, 2021 22:425,58643,291,98315,889,0001,986,0002,281,472
10Jun 27, 2021 22:425,67480,302,79518,156,22002,297,856
11Jun 27, 2021 22:425,69681,171,75818,226,63002,306,048
12Jun 27, 2021 22:425,71067,098,57418,273,10302,183,168