0_0_31801854_15924.cpp: In function 'int main()':
0_0_31801854_15924.cpp:16:14: error: size of array 's' has non-integral type 'double'
food s[n+3];
^
0_0_31801854_15924.cpp:21:12: error: invalid operands of types 'food [1]' and 'double' to binary 'operator+'
sort(s,s+n,cmp);
^
|