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 26, 2024 16:08vahookvahookScore: 4,502Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2024 16:084,46230,449,77714,278,00002,277,376
2Aug 26, 2024 16:084,46834,667,57414,298,00002,277,376
3Aug 26, 2024 16:084,47236,376,76014,311,00002,498,560
4Aug 26, 2024 16:084,47329,432,18214,315,00002,277,376
5Aug 26, 2024 16:084,47935,666,83714,334,00002,277,376
6Aug 26, 2024 16:084,48236,618,33414,343,00002,535,424
7Aug 26, 2024 16:084,50241,626,29714,407,00002,277,376
8Aug 26, 2024 16:084,50328,686,35914,408,00002,498,560
9Aug 26, 2024 16:084,51141,134,33413,403,0001,031,0002,277,376
10Aug 26, 2024 16:084,74461,229,06115,181,54702,236,416
11Aug 26, 2024 16:084,74584,375,67815,182,68702,379,776
12Aug 26, 2024 16:084,76463,758,69915,243,37402,244,608