Borderou de evaluare (job #743694)

Utilizator avatar Gavriliu.Adam Adam Gavriliu Robert Gavriliu.Adam IP ascuns
Problemă Cabina (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 10 nov. 2023 09:43:12 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:5:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'n' 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:14: error: 'n' undeclared (first use in this function) main.c:5:14: note: each undeclared identifier is reported only once for each function it appears in main.c:5:17: error: 'nr' undeclared (first use in this function) 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^~ main.c:5:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:21: error: 'a' undeclared (first use in this function) 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:19: warning: left-hand operand of comma expression has no effect [-Wunused-value] 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:24: error: 'b' undeclared (first use in this function) 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:22: warning: left-hand operand of comma expression has no effect [-Wunused-value] 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:27: error: 'l' undeclared (first use in this function) 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:25: warning: left-hand operand of comma expression has no effect [-Wunused-value] 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:30: error: 'p' undeclared (first use in this function) 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:28: warning: left-hand operand of comma expression has no effect [-Wunused-value] 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:33: error: 's' undeclared (first use in this function) 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:31: warning: left-hand operand of comma expression has no effect [-Wunused-value] 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:36: error: 'altp' undeclared (first use in this function) 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^~~~ main.c:5:34: warning: left-hand operand of comma expression has no effect [-Wunused-value] 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab; | ^ main.c:5:42: error: 'x' undeclared (first use in this function) 5 | int main n, nr, a, b, l, p, s, altp, x, cabs, cab;