Borderou de evaluare (job #246562)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Pic | Compilator | cpp |
Rundă | runda1_pregatire_c2003 | Status | evaluat |
Dată | 7 sept. 2016 22:04:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: declaration does not declare anything [-fpermissive]
user.cpp: In function ‘int main()’:
user.cpp:11:10: error: ‘N’ was not declared in this scope
user.cpp:13:30: error: ‘i’ was not declared in this scope
user.cpp:14:14: error: ‘pic’ was not declared in this scope
user.cpp:18:10: error: ‘K’ was not declared in this scope
user.cpp:19:30: error: ‘i’ was not declared in this scope
user.cpp:20:14: error: ‘aux’ was not declared in this scope
user.cpp:21:33: error: ‘but’ was not declared in this scope
user.cpp:23:14: error: ‘sum’ was not declared in this scope
user.cpp:23:22: error: ‘adun’ was not declared in this scope
user.cpp:27:22: error: ‘i’ was not declared in this scope
user.cpp:28:21: error: ‘pic’ was not declared in this scope
user.cpp:28:28: error: ‘comp’ was not declared in this scope
user.cpp:29:39: error: no matching function for call to ‘swap(int&, int&, const char [8])’
user.cpp:29:39: note: candidates are:
/usr/include/c++/4.6/bits/move.h:122:5: note: template<class _Tp> void std::swap(_Tp&, _Tp&)
/usr/include/c++/4.6/bits/move.h:136:5: note: template<class _Tp, unsigned int _Nm> void std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm])
/usr/include/c++/4.6/bits/stl_pair.h:241:5: note: template<class _T1, class _T2> void std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&)
/usr/include/c++/4.6/bits/basic_string.h:2658:5: note: template<class _CharT, class _Traits, class _Alloc> void std::swap(std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>&)
user.cpp:30:30: error: ‘sum’ was not declared in this scope
user.cpp:30:34: error: expected primary-expression before ‘]’ token
user.cpp:30:35: error: expected ‘;’ before ‘)’ token
user.cpp:31:19: error: ‘pic’ was not declared in this scope
user.cpp:31:25: error: ‘scad’ was not declared in this scope