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 listAug 30, 2024 17:14Jatin YadavJatin YadavScore: 5,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2024 17:145,65939,586,61916,098,0002,012,0002,273,280
2Aug 30, 2024 17:145,66642,140,41517,124,0001,007,0002,289,664
3Aug 30, 2024 17:145,68239,920,66517,173,0001,010,0002,277,376
4Aug 30, 2024 17:145,68340,525,43116,165,0002,020,0002,281,472
5Aug 30, 2024 17:145,68547,739,90516,170,0002,021,0002,289,664
6Aug 30, 2024 17:145,71141,437,89216,245,0002,030,0002,289,664
7Aug 30, 2024 17:145,72444,812,83317,301,0001,017,0002,527,232
8Aug 30, 2024 17:145,73734,190,85317,339,0001,019,0002,289,664
9Aug 30, 2024 17:145,74440,760,26916,338,0002,042,0002,289,664
10Aug 30, 2024 17:146,14986,032,18319,678,16302,301,952
11Aug 30, 2024 17:146,19384,122,54619,818,87502,301,952
12Aug 30, 2024 17:146,25884,145,91220,024,68802,297,856