Borderou de evaluare (job #1555504)
Utilizator | Data | 22 decembrie 2015 21:15:48 | |
---|---|---|---|
Problema | Joc7 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:24: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
int i, j, n, k, m, s, t, ma, ant;
^
user.cpp: At global scope:
user.cpp:46:1: error: ‘ajutor’ does not name a type
ajutor
^
user.cpp: In function ‘int main()’:
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc7.in","r",stdin);
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc7.out","w",stdout);
^
user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k,&m);
^
user.cpp:17:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= k; ++i ) scanf("%d%d",&v[i],&d[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !