0_0_21706575_24393.cpp: In function 'int main()': 0_0_21706575_24393.cpp:121:9: error: 'else' without a previous 'if' else printf("%d\n",-cost); ^