Borderou de evaluare (job #650897)
Utilizator | Data | 19 decembrie 2011 08:35:42 | |
---|---|---|---|
Problema | Elementul majoritar | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:3: error: expected declaration specifiers or ‘...’ before ‘b’
user.c:3: error: expected declaration specifiers or ‘...’ before ‘i’
user.c:3: error: expected declaration specifiers or ‘...’ before ‘n’
user.c:3: warning: ‘main’ takes only zero or two arguments
user.c: In function ‘main’:
user.c:8: error: ‘n’ undeclared (first use in this function)
user.c:8: error: (Each undeclared identifier is reported only once
user.c:8: error: for each function it appears in.)
user.c:9: error: ‘i’ undeclared (first use in this function)
user.c:12: error: ‘b’ undeclared (first use in this function)
user.c:25: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type
/usr/include/bits/stdio2.h:96: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
user.c:25: error: too few arguments to function ‘fprintf’
user.c:27: error: ‘else’ without a previous ‘if’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !