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 11, 2021 14:45Andrey TsvetkovAndrey TsvetkovScore: 6,207Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 14:456,10646,537,28918,511,0001,028,0002,527,232
2May 11, 2021 14:456,11942,639,77217,520,0002,061,0002,326,528
3May 11, 2021 14:456,13252,208,98217,557,0002,065,0002,326,528
4May 11, 2021 14:456,13845,777,44119,642,00002,326,528
5May 11, 2021 14:456,14346,288,39819,658,00002,519,040
6May 11, 2021 14:456,14351,202,90018,625,0001,034,0002,531,328
7May 11, 2021 14:456,20792,118,45819,860,87302,228,224
8May 11, 2021 14:456,21146,559,00918,881,000993,0002,523,136
9May 11, 2021 14:456,21146,779,60919,875,00002,326,528
10May 11, 2021 14:456,21337,391,71315,904,0003,976,0002,347,008
11May 11, 2021 14:456,24085,185,96819,969,19102,232,320
12May 11, 2021 14:456,30080,072,68720,159,70202,232,320