Borderou de evaluare (job #1327458)
Utilizator | Data | 26 ianuarie 2015 19:05:55 | |
---|---|---|---|
Problema | Pitici4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Add(int, int)’:
user.cpp:19:9: error: ‘AIB’ was not declared in this scope
AIB[i]=max(q,AIB[i]);
^
user.cpp: In function ‘int comp(int)’:
user.cpp:27:22: error: ‘AIB’ was not declared in this scope
ret =max(ret,AIB[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:53:24: error: ‘add’ was not declared in this scope
add(neg,best[neg]);
^
user.cpp:33:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici4.in","r",stdin);
^
user.cpp:34:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici4.out","w",stdout);
^
user.cpp:35:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:37:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].fs,&v[i].sc);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !