Borderou de evaluare (job #1660971)
Utilizator | Demeter Csaba Nuador | Data | 23 martie 2016 15:58:28 |
---|---|---|---|
Problema | Avioane2 | Status | done |
Runda | Arhiva ICPC | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘cmp’:
user.c:12:8: error: ‘T’ undeclared (first use in this function)
if(T[a][2] != T[b][2]){
^
user.c:12:8: note: each undeclared identifier is reported only once for each function it appears in
user.c:11:9: warning: variable ‘b’ set but not used [-Wunused-but-set-variable]
int b = (*((int*)p2));
^
user.c:10:9: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
int a = (*((int*)p1));
^
user.c: In function ‘main’:
user.c:25:19: warning: unused variable ‘jegy’ [-Wunused-variable]
int a,ai,b,bi,jegy;
^
user.c:25:16: warning: unused variable ‘bi’ [-Wunused-variable]
int a,ai,b,bi,jegy;
^
user.c:25:14: warning: unused variable ‘b’ [-Wunused-variable]
int a,ai,b,bi,jegy;
^
user.c:25:11: warning: unused variable ‘ai’ [-Wunused-variable]
int a,ai,b,bi,jegy;
^
user.c:25:9: warning: unused variable ‘a’ [-Wunused-variable]
int a,ai,b,bi,jegy;
^
user.c:23:17: warning: unused variable ‘j’ [-Wunused-variable]
int n,m,k,i,j;
^
user.c: In function ‘cmp’:
user.c:17:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.c: In function ‘main’:
user.c:21:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avioane2.in","r",stdin);
^
user.c:22:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avioane2.out","w",stdout);
^
user.c:24:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !