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:44Andrey TsvetkovAndrey TsvetkovScore: 5,702Success
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:445,65039,551,47615,068,0003,013,0002,334,720
2Jul 13, 2021 19:445,67441,483,51916,139,0002,017,0002,334,720
3Jul 13, 2021 19:445,67637,354,50016,145,0002,018,0002,334,720
4Jul 13, 2021 19:445,67840,316,77716,152,0002,019,0002,334,720
5Jul 13, 2021 19:445,68936,609,90415,172,0003,034,0002,523,136
6Jul 13, 2021 19:445,69634,350,23916,201,0002,025,0002,523,136
7Jul 13, 2021 19:445,70241,137,79716,218,0002,027,0002,334,720
8Jul 13, 2021 19:445,71045,356,79416,243,0002,030,0002,330,624
9Jul 13, 2021 19:445,73342,444,69515,289,0003,057,0002,519,040
10Jul 13, 2021 19:445,74379,851,10218,376,19202,228,224
11Jul 13, 2021 19:445,75373,612,46018,409,24602,228,224
12Jul 13, 2021 19:445,79477,539,37618,539,66002,228,224