Borderou de evaluare (job #1354180)
Utilizator | Data | 21 februarie 2015 17:55:59 | |
---|---|---|---|
Problema | Por Costel si Invazia Extraterestra | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void sterge(int, int, int, int, int, int)’:
user.cpp:21:31: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
if ( A[nod].size() && val == A[nod][ A[nod].size() - 1 ] == val )
^
user.cpp: In function ‘void genTest()’:
user.cpp:92:13: warning: unused variable ‘r’ [-Wunused-variable]
int r = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:124:14: error: ‘class std::vector<int>’ has no member named ‘minStack’
A[i].minStack = NULL;
^
user.cpp:118:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invazia.in", "r", stdin);
^
user.cpp:121:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &N, &M);
^
user.cpp:133:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c ", &ch);
^
user.cpp:137:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ", &x, &y, &z);
^
user.cpp:155:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &x);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !