Borderou de evaluare (job #1667132)
Utilizator | Data | 28 martie 2016 17:56:29 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:10:5: warning: implicit declaration of function ‘asm’ [-Wimplicit-function-declaration]
asm( "addl %%ebx, %%eax;"
^
user.c:11:10: error: expected ‘)’ before ‘:’ token
: "=a" (add)
^
user.c:5:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adunare.in","r",stdin);
^
user.c:6:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adunare.out","w",stdout);
^
user.c:9:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !