Borderou de evaluare (job #1481792)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 5 septembrie 2015 11:50:16
Problema Prefix Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:18:30: error: expected expression before ‘int’ if(k&&(i/(i-k))==int(i/(i-k))) ^ user.c:7:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.in","r",stdin),freopen("prefix.out","w",stdout),scanf("%d\n",&t); ^ user.c:7:40: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.in","r",stdin),freopen("prefix.out","w",stdout),scanf("%d\n",&t); ^ user.c:7:71: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.in","r",stdin),freopen("prefix.out","w",stdout),scanf("%d\n",&t); ^ user.c:9:7: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result] gets(s),k=p[1]=d=0,n=strlen(s); ^

Ceva nu functioneaza?