Borderou de evaluare (job #2145691)
Utilizator | Data | 27 februarie 2018 15:52:19 | |
---|---|---|---|
Problema | Sushi2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void optim()’:
user.cpp:120:33: error: ‘nod’ was not declared in this scope
int add = query(1, 1, m, ri[nod], m);
^
user.cpp: In function ‘int main()’:
user.cpp:126:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:130:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &len);
^
user.cpp:133:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &V[i][j]);
^
user.cpp:141:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &p[i].t);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !