Borderou de evaluare (job #1900809)

Utilizator EmplopiStefan Nitu Emplopi Data 3 martie 2017 16:38:15
Problema Cifre 5 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:19: error: conflicting types for ‘coada’ long long s2, coada; ^ user.c:10:14: note: previous declaration of ‘coada’ was here int cer, coada, cif, s1; ^ user.c:21:24: error: expected expression before ‘)’ token s2+=(long long))mm[cif]*coada; ^ user.c:21:24: error: expected statement before ‘)’ token user.c:21:25: warning: statement with no effect [-Wunused-value] s2+=(long long))mm[cif]*coada; ^ user.c:22:27: error: expected expression before ‘)’ token coada*=(long long))(mm[cif]+mn[cif]+1); ^ user.c:22:27: error: expected statement before ‘)’ token user.c:22:28: warning: statement with no effect [-Wunused-value] coada*=(long long))(mm[cif]+mn[cif]+1); ^ user.c:15:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%llu", &cer, &n); ^

Ceva nu functioneaza?