Borderou de evaluare (job #1211874)
Utilizator | Data | 23 iulie 2014 14:11:59 | |
---|---|---|---|
Problema | Qvect | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:19:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qvect.in","r",stdin);
^
user.c:20:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qvect.out","w",stdout);
^
user.c:22:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd",&N,&Q);
^
user.c:25:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&A[i][0]);
^
user.c:27:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&A[i][j]);
^
user.c:33:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd %hd",&t,&i,&j);
^
/tmp/ccTcfwJ1.o: In function `main':
user.c:(.text.startup+0x135): undefined reference to `t2'
collect2: error: ld returned 1 exit status
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !