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, 2021 22:43Andrey TsvetkovAndrey TsvetkovScore: 5,703Success
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, 2021 22:435,63842,194,91715,036,0003,007,0002,519,040
2Jun 29, 2021 22:435,65542,958,58816,086,0002,010,0002,334,720
3Jun 29, 2021 22:435,66643,556,36216,116,0002,014,0002,531,328
4Jun 29, 2021 22:435,66849,098,47116,121,0002,015,0002,531,328
5Jun 29, 2021 22:435,69446,130,79816,197,0002,024,0002,519,040
6Jun 29, 2021 22:435,70134,476,10715,204,0003,040,0002,347,008
7Jun 29, 2021 22:435,70346,128,52616,222,0002,027,0002,318,336
8Jun 29, 2021 22:435,71079,768,40518,272,62302,248,704
9Jun 29, 2021 22:435,73144,330,39315,283,0003,056,0002,527,232
10Jun 29, 2021 22:435,73343,455,68017,327,0001,019,0002,523,136
11Jun 29, 2021 22:435,80273,036,98918,565,31302,228,224
12Jun 29, 2021 22:435,86787,267,50818,773,88302,232,320