0_0_14895435_27784.cpp:43:13: error: missing terminating ' character cout<<-1<<endl' ^ 0_0_14895435_27784.cpp: In function 'int main()': 0_0_14895435_27784.cpp:44:9: error: expected ';' before '}' token } ^