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 listFeb 22, 2024 12:51Huy Duc LeHuy Duc LeScore: 5,224Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:515,18836,023,59216,601,00002,293,760
2Feb 22, 2024 12:515,18833,227,37515,565,0001,037,0002,277,376
3Feb 22, 2024 12:515,19233,770,19315,576,0001,038,0002,527,232
4Feb 22, 2024 12:515,20642,558,26215,617,0001,041,0002,293,760
5Feb 22, 2024 12:515,21441,790,15616,684,00002,293,760
6Feb 22, 2024 12:515,22141,827,19016,708,00002,293,760
7Feb 22, 2024 12:515,22440,510,75515,672,0001,044,0002,293,760
8Feb 22, 2024 12:515,23340,867,73615,701,0001,046,0002,293,760
9Feb 22, 2024 12:515,27441,440,41214,893,0001,985,0002,527,232
10Feb 22, 2024 12:515,41483,356,82017,323,97702,306,048
11Feb 22, 2024 12:515,42484,483,73217,358,10902,301,952
12Feb 22, 2024 12:515,44175,639,36017,412,56602,306,048