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 listMar 17, 2023 22:18Alexander MonakovAlexander MonakovScore: 4,553Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 22:184,50929,146,50714,428,00002,277,376
2Mar 17, 2023 22:184,53431,815,48014,508,00002,498,560
3Mar 17, 2023 22:184,53633,805,59414,514,00002,277,376
4Mar 17, 2023 22:184,53935,439,75414,525,00002,277,376
5Mar 17, 2023 22:184,54129,748,76314,531,00002,494,464
6Mar 17, 2023 22:184,54435,528,55114,540,00002,277,376
7Mar 17, 2023 22:184,55330,492,04213,530,0001,040,0002,502,656
8Mar 17, 2023 22:184,56133,967,24813,552,0001,042,0002,498,560
9Mar 17, 2023 22:184,56638,276,09014,611,00002,277,376
10Mar 17, 2023 22:184,738103,159,47115,162,17902,248,704
11Mar 17, 2023 22:184,77688,512,38515,281,68602,244,608
12Mar 17, 2023 22:184,80576,869,18515,375,20102,236,416