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 27, 2021 16:57Yurkov AlekseyYurkov AlekseyScore: 5,999Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 16:575,93444,657,81016,990,0001,998,0002,523,136
2May 27, 2021 16:575,94842,818,72617,031,0002,003,0002,269,184
3May 27, 2021 16:575,95546,726,61017,051,0002,006,0002,273,280
4May 27, 2021 16:575,96840,559,27317,088,0002,010,0002,269,184
5May 27, 2021 16:575,97342,214,81917,103,0002,012,0002,289,664
6May 27, 2021 16:575,98242,104,28517,128,0002,015,0002,281,472
7May 27, 2021 16:575,99943,563,89818,186,0001,010,0002,277,376
8May 27, 2021 16:576,00242,967,91117,184,0002,021,0002,289,664
9May 27, 2021 16:576,02441,387,20618,262,0001,014,0002,289,664
10May 27, 2021 16:576,11451,852,38419,565,58902,301,952
11May 27, 2021 16:576,18181,304,42319,779,19002,289,664
12May 27, 2021 16:576,19167,582,88419,811,66302,170,880