Borderou de evaluare (job #1326956)
Utilizator | Data | 26 ianuarie 2015 11:32:00 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:16: error: ‘x’ was not declared in this scope
fin >> x;
^
user.cpp:26:16: error: ‘c’ was not declared in this scope
fin >> c >> x >> y;
^
user.cpp:26:21: error: ‘x’ was not declared in this scope
fin >> c >> x >> y;
^
user.cpp:26:26: error: ‘y’ was not declared in this scope
fin >> c >> x >> y;
^
user.cpp:28:33: error: ‘b’ was not declared in this scope
else update(1, n, a, 1, b);
^
user.cpp: In function ‘void update(int, int, int, int, int)’:
user.cpp:38:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (st < dr)
^
user.cpp: In function ‘int query(int, int, int, int, int)’:
user.cpp:45:1: error: expected primary-expression before ‘}’ token
}
^
user.cpp:45:1: error: expected ‘;’ before ‘}’ token
user.cpp:45:1: warning: no return statement in function returning non-void [-Wreturn-type]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !