Borderou de evaluare (job #2258318)
Utilizator | Data | 11 octombrie 2018 11:03:27 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:29: error: no matching function for call to ‘std::out_of_range::out_of_range()’
throw std::out_of_range();
^
In file included from user.cpp:1:0:
/usr/include/c++/6/stdexcept:187:14: note: candidate: std::out_of_range::out_of_range(const char*)
explicit out_of_range(const char*) _GLIBCXX_TXN_SAFE;
^~~~~~~~~~~~
/usr/include/c++/6/stdexcept:187:14: note: candidate expects 1 argument, 0 provided
/usr/include/c++/6/stdexcept:185:14: note: candidate: std::out_of_range::out_of_range(const string&)
explicit out_of_range(const string& __arg) _GLIBCXX_TXN_SAFE;
^~~~~~~~~~~~
/usr/include/c++/6/stdexcept:185:14: note: candidate expects 1 argument, 0 provided
/usr/include/c++/6/stdexcept:182:9: note: candidate: std::out_of_range::out_of_range(const std::out_of_range&)
class out_of_range : public logic_error
^~~~~~~~~~~~
/usr/include/c++/6/stdexcept:182:9: note: candidate expects 1 argument, 0 provided
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !