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 listMay 23, 2021 10:18Andrey TsvetkovAndrey TsvetkovScore: 5,726Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 10:185,68135,485,83816,160,0002,020,0002,527,232
2May 23, 2021 10:185,68942,279,07415,172,0003,034,0002,531,328
3May 23, 2021 10:185,69543,324,81515,188,0003,037,0002,334,720
4May 23, 2021 10:185,70439,884,98716,226,0002,028,0002,334,720
5May 23, 2021 10:185,70838,399,27516,237,0002,029,0002,334,720
6May 23, 2021 10:185,71835,540,42715,247,0003,049,0002,523,136
7May 23, 2021 10:185,72435,816,70116,281,0002,035,0002,334,720
8May 23, 2021 10:185,72643,350,00916,288,0002,036,0002,334,720
9May 23, 2021 10:185,72886,616,05918,329,47402,244,608
10May 23, 2021 10:185,73560,189,10018,352,60302,232,320
11May 23, 2021 10:185,74136,717,99415,309,0003,061,0002,531,328
12May 23, 2021 10:185,74775,005,14818,388,86502,244,608
13May 23, 2021 10:185,75080,155,30418,401,21702,224,128
14May 23, 2021 10:185,79353,704,87818,538,19702,236,416
15May 23, 2021 10:185,80165,619,15618,563,13002,232,320