Borderou de evaluare (job #647300)

Utilizator avatar DP123 David Peligrad DP123 IP ascuns
Problemă Cifre 3 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 apr. 2022 19:18:15 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:17:18: error: subscripted value is neither array nor pointer nor vector 17 | a[i]++; | ^ main.c:26:18: error: subscripted value is neither array nor pointer nor vector 26 | b[i]++; | ^ main.c:34:13: error: subscripted value is neither array nor pointer nor vector 34 | if(a[c]==0 && b[c]==0){ | ^ main.c:34:24: error: subscripted value is neither array nor pointer nor vector 34 | if(a[c]==0 && b[c]==0){ | ^ main.c:37:17: error: subscripted value is neither array nor pointer nor vector 37 | if(a[c]!=0 && b[c]!=0){ | ^ main.c:37:28: error: subscripted value is neither array nor pointer nor vector 37 | if(a[c]!=0 && b[c]!=0){ | ^ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin ,"%d%d", &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~