Borderou de evaluare (job #1483933)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 10 septembrie 2015 10:33:36
Problema Vase Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:12:6: error: subscripted value is neither array nor pointer nor vector if(c[x]=='S') ^ user.c:6:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.in","r",stdin),freopen("vase.out","w",stdout),scanf("%d",&n); ^ user.c:6:38: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.in","r",stdin),freopen("vase.out","w",stdout),scanf("%d",&n); ^ user.c:6:67: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.in","r",stdin),freopen("vase.out","w",stdout),scanf("%d",&n); ^ user.c:8:12: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %c",v+i,e+i),g=g+(v[i]/2); ^ user.c:9:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x),printf("%lld\n",g); ^

Ceva nu functioneaza?