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 16, 2021 13:42Yuriy LyfenkoYuriy LyfenkoScore: 5,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:425,41435,123,01716,307,0001,019,0002,383,872
2May 16, 2021 13:425,42443,346,39316,336,0001,021,0002,527,232
3May 16, 2021 13:425,42841,227,02217,368,00002,527,232
4May 16, 2021 13:425,43042,070,18916,354,0001,022,0002,265,088
5May 16, 2021 13:425,44537,084,58317,423,00002,265,088
6May 16, 2021 13:425,45543,958,96616,430,0001,026,0002,265,088
7May 16, 2021 13:425,45741,023,48917,462,00002,265,088
8May 16, 2021 13:425,46052,371,21017,472,00002,392,064
9May 16, 2021 13:425,47042,582,29117,504,00002,265,088
10May 16, 2021 13:425,80381,086,73018,568,50902,281,472
11May 16, 2021 13:425,83279,183,19118,663,73502,273,280
12May 16, 2021 13:425,85194,636,17718,722,61802,285,568