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 listJul 18, 2024 14:24Matt StuchlikMatt StuchlikScore: 5,639Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2024 14:245,60445,056,05215,941,0001,992,0002,269,184
2Jul 18, 2024 14:245,60741,291,41115,948,0001,993,0002,269,184
3Jul 18, 2024 14:245,61640,909,61515,974,0001,996,0002,289,664
4Jul 18, 2024 14:245,61842,148,34615,979,0001,997,0002,289,664
5Jul 18, 2024 14:245,63336,394,68517,023,0001,001,0002,269,184
6Jul 18, 2024 14:245,63941,587,77316,040,0002,005,0002,289,664
7Jul 18, 2024 14:245,63935,407,01016,041,0002,005,0002,289,664
8Jul 18, 2024 14:245,64041,114,48616,044,0002,005,0002,289,664
9Jul 18, 2024 14:245,66341,159,42516,110,0002,013,0002,273,280
10Jul 18, 2024 14:245,83387,008,51318,665,19702,179,072
11Jul 18, 2024 14:245,84483,031,91418,701,52002,297,856
12Jul 18, 2024 14:245,869106,323,56918,782,38502,179,072