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 30, 2023 16:51Alexander MonakovAlexander MonakovScore: 4,545Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2023 16:514,49440,406,15214,380,00002,277,376
2Jun 30, 2023 16:514,49935,897,61214,397,00002,494,464
3Jun 30, 2023 16:514,51235,472,31114,439,00002,277,376
4Jun 30, 2023 16:514,52129,633,18614,466,00002,277,376
5Jun 30, 2023 16:514,52531,806,46614,480,00002,498,560
6Jun 30, 2023 16:514,52736,895,79513,453,0001,034,0002,490,368
7Jun 30, 2023 16:514,54535,864,88414,543,00002,277,376
8Jun 30, 2023 16:514,54641,931,65014,547,00002,277,376
9Jun 30, 2023 16:514,57343,264,02513,589,0001,045,0002,277,376
10Jun 30, 2023 16:514,78983,583,95415,324,06802,236,416
11Jun 30, 2023 16:514,79390,627,14815,338,40102,240,512
12Jun 30, 2023 16:514,83775,559,22215,477,04802,248,704