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 29, 2024 20:18AnSaAnSaScore: 5,145Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2024 20:185,09840,240,14314,273,0002,039,0002,281,472
2Jun 29, 2024 20:185,12440,172,30614,347,0002,049,0002,289,664
3Jun 29, 2024 20:185,12743,243,62915,381,0001,025,0002,281,472
4Jun 29, 2024 20:185,12843,494,13015,386,0001,025,0002,269,184
5Jun 29, 2024 20:185,13145,146,98516,420,00002,281,472
6Jun 29, 2024 20:185,14449,693,99914,404,0002,057,0002,281,472
7Jun 29, 2024 20:185,14533,197,50015,436,0001,029,0002,527,232
8Jun 29, 2024 20:185,14933,975,31815,447,0001,029,0002,269,184
9Jun 29, 2024 20:185,14933,345,01814,419,0002,059,0002,387,968
10Jun 29, 2024 20:185,40368,812,93317,288,96102,293,760
11Jun 29, 2024 20:185,43384,222,18117,386,88202,179,072
12Jun 29, 2024 20:185,44669,494,44817,427,42802,174,976