Borderou de evaluare (job #210415)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Fermier (clasa a 8-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 26 feb. 2016 19:37:18 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:20: error: size of array ‘A’ is too large
user.cpp: In function ‘int main()’:
user.cpp:13:10: error: ‘a’ was not declared in this scope
user.cpp:13:13: error: ‘b’ was not declared in this scope
user.cpp:13:16: error: ‘A’ was not declared in this scope
user.cpp:16:17: error: ‘A’ was not declared in this scope
user.cpp:17:16: error: ‘A’ was not declared in this scope
user.cpp:18:43: error: no ‘operator++(int)’ declared for postfix ‘++’ [-fpermissive]
user.cpp:17:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
user.cpp:19:7: error: no match for ‘operator=’ in ‘g = 0’
user.cpp:19:7: note: candidate is:
/usr/include/c++/4.6/fstream:588:11: note: std::basic_ofstream<char>& std::basic_ofstream<char>::operator=(const std::basic_ofstream<char>&) <deleted>
/usr/include/c++/4.6/fstream:588:11: note: no known conversion for argument 1 from ‘int’ to ‘const std::basic_ofstream<char>&’
user.cpp:22:17: error: ‘A’ was not declared in this scope
user.cpp:22:32: error: no ‘operator++(int)’ declared for postfix ‘++’ [-fpermissive]