Borderou de evaluare (job #600412)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Puncte1 (baraj gimnaziu) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 15 iun. 2021 11:13:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:33: warning: missing terminating " character
5 | string dau[4] = {"+", "-", "*", "\"};
| ^
main.cpp:5:33: error: missing terminating " character
5 | string dau[4] = {"+", "-", "*", "\"};
| ^~~~~
main.cpp:7:1: error: expected primary-expression before 'void'
7 | void Back_Track(i, j){
| ^~~~
main.cpp:7:1: error: expected '}' before 'void'
main.cpp:5:17: note: to match this '{'
5 | string dau[4] = {"+", "-", "*", "\"};
| ^
main.cpp:7:1: error: expected ',' or ';' before 'void'
7 | void Back_Track(i, j){
| ^~~~
main.cpp:33:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
33 | main()
| ^~~~
main.cpp: In function 'int main()':
main.cpp:40:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
40 | for(int j = 0; j < in[i].length(); j ++)
| ~~^~~~~~~~~~~~~~~~
main.cpp:44:3: error: 'Try' was not declared in this scope
44 | Try(i,j);
| ^~~