Borderou de evaluare (job #1406391)
Utilizator | Data | 29 martie 2015 16:54:34 | |
---|---|---|---|
Problema | Comoditate | Status | done |
Runda | ONIS 2015, Runda 2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:13: error: request for member ‘clear’ in ‘orr’, which is of non-class type ‘int [101010]’
orr.clear();
^
user.cpp:49:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<mc.size();++i){
^
user.cpp:29:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("comoditate.in","r",stdin);
^
user.cpp:30:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("comoditate.out","w",stdout);
^
user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:33: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:43:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !