|
|
back to boardwhy wrong answer(3)? c++ [code deleted] Edited by author 02.04.2019 21:28 Edited by author 02.04.2019 21:49 Edited by moderator 19.11.2019 23:34 Re: why wrong answer(3)? c++ Use sqrtl. Re: why wrong answer(3)? c++ Change while (!cin.eof()){ cin >> a; mass.push_back(a); } mass.erase(mass.end()-1); To while (cin >> a) { mass.push_back(a); } |
|
|