Borderou de evaluare (job #1307866)
Utilizator | Data | 2 ianuarie 2015 22:58:54 | |
---|---|---|---|
Problema | Paintball | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int MinVictims()’:
user.cpp:21:26: error: ‘memset’ was not declared in this scope
memset(viz,0,sizeof(viz));
^
user.cpp: In function ‘int MaxVictims()’:
user.cpp:43:27: error: ‘memset’ was not declared in this scope
{ memset(viz,0,sizeof(viz));
^
user.cpp: In function ‘void ReadData()’:
user.cpp:10:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d", &N);
^
user.cpp:11:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=N;++i) scanf("%d",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:58:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("paintball.in", "r", stdin);
^
user.cpp:59:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paintball.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !