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 7, 2023 06:39Alexander MonakovAlexander MonakovScore: 4,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2023 06:394,48832,115,36114,360,00002,494,464
2Jun 7, 2023 06:394,49932,592,34414,397,00002,494,464
3Jun 7, 2023 06:394,50229,932,00014,407,00002,277,376
4Jun 7, 2023 06:394,50428,075,28514,412,00002,535,424
5Jun 7, 2023 06:394,53333,412,54714,506,00002,277,376
6Jun 7, 2023 06:394,53828,957,58514,520,00002,502,656
7Jun 7, 2023 06:394,54031,291,54114,528,00002,498,560
8Jun 7, 2023 06:394,56629,640,71914,610,00002,535,424
9Jun 7, 2023 06:394,56836,036,37113,575,0001,044,0002,498,560
10Jun 7, 2023 06:394,78388,933,10515,304,07102,244,608
11Jun 7, 2023 06:394,79170,210,16415,330,08402,240,512
12Jun 7, 2023 06:394,80684,788,60015,377,97902,252,800