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 listJul 13, 2021 19:26Andrey TsvetkovAndrey TsvetkovScore: 5,730Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:265,68341,983,14716,167,0002,020,0002,527,232
2Jul 13, 2021 19:265,69141,582,25215,175,0003,035,0002,330,624
3Jul 13, 2021 19:265,69941,358,87215,199,0003,039,0002,334,720
4Jul 13, 2021 19:265,70135,231,46416,217,0002,027,0002,334,720
5Jul 13, 2021 19:265,71638,773,77215,244,0003,048,0002,514,944
6Jul 13, 2021 19:265,72235,237,60915,258,0003,051,0002,523,136
7Jul 13, 2021 19:265,73058,039,59118,337,26102,232,320
8Jul 13, 2021 19:265,73343,681,45916,309,0002,038,0002,334,720
9Jul 13, 2021 19:265,73437,280,66117,331,0001,019,0002,334,720
10Jul 13, 2021 19:265,74085,205,43518,368,07102,232,320
11Jul 13, 2021 19:265,75348,484,21616,364,0002,045,0002,334,720
12Jul 13, 2021 19:265,87288,748,57418,789,11802,232,320