Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Knapsack C++

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.62 sec, absolute running time: 0.15 sec, cpu time: 0.01 sec, memory peak: 5 Mb, absolute service time: 0,88 sec 
edit mode |  history
Error(s):
sh: 1: pause: not found
#  Кол  Цена
#  Amo Price

1   2   10
2   2   13
3   2   12
4   1   16
5   2   12
6   2   17
7   3   16

Мх Кол Ст-ть Шифр
Mx Amo Price Cipher

5  5  62  1101000
5  4  46  1100000
5  5  60  1011000
5  4  44  1010000
5  5  60  1001100
5  5  70  1001010
5  3  36  1001000
5  4  44  1000100
5  4  54  1000010
5  5  68  1000001
5  2  20  1000000
5  5  66  0111000
5  4  50  0110000
5  5  66  0101100
5  5  76  0101010
5  3  42  0101000
5  4  50  0100100
5  4  60  0100010
5  5  74  0100001
5  2  26  0100000
5  5  64  0011100
5  5  74  0011010
5  3  40  0011000
5  4  48  0010100
5  4  58  0010010
5  5  72  0010001
5  2  24  0010000
5  5  74  0001110
5  3  40  0001100
5  3  50  0001010
5  4  64  0001001
5  1  16  0001000
5  4  58  0000110
5  5  72  0000101
5  2  24  0000100
5  5  82  0000011
5  2  34  0000010
5  3  48  0000001
5  0  0  0000000

Мх Ст-ть Шифр
Mx Price Cipher

5  82  0000011