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 20, 2021 19:25Andrey TsvetkovAndrey TsvetkovScore: 5,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 19:255,69132,135,31616,187,0002,023,0002,334,720
2Jun 20, 2021 19:255,69546,098,14715,188,0003,037,0002,527,232
3Jun 20, 2021 19:255,69741,861,32916,205,0002,025,0002,334,720
4Jun 20, 2021 19:255,70038,551,70015,200,0003,040,0002,359,296
5Jun 20, 2021 19:255,70934,506,98715,225,0003,045,0002,334,720
6Jun 20, 2021 19:255,71434,285,19615,237,0003,047,0002,527,232
7Jun 20, 2021 19:255,73754,542,17316,319,0002,039,0002,334,720
8Jun 20, 2021 19:255,74536,538,03116,341,0002,042,0002,371,584
9Jun 20, 2021 19:255,76763,973,05818,452,84402,236,416
10Jun 20, 2021 19:255,77035,010,68316,412,0002,051,0002,334,720
11Jun 20, 2021 19:255,93782,669,77718,997,55902,236,416
12Jun 20, 2021 19:255,94394,865,32619,016,78402,236,416