Borderou de evaluare (job #900505)
Utilizator | Data | 28 februarie 2013 20:06:36 | |
---|---|---|---|
Problema | Subsir crescator maximal | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:1:17: error: cstdio: No such file or directory
user.c:2:19: error: iostream: No such file or directory
user.c:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’
user.c: In function ‘main’:
user.c:8: warning: implicit declaration of function ‘freopen’
user.c:8: error: ‘stdin’ 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: ‘stdout’ undeclared (first use in this function)
user.c:10: warning: implicit declaration of function ‘scanf’
user.c:10: warning: incompatible implicit declaration of built-in function ‘scanf’
user.c:11: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:11: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:14: error: redefinition of ‘i’
user.c:11: note: previous definition of ‘i’ was here
user.c:14: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:16: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:24: warning: implicit declaration of function ‘printf’
user.c:24: warning: incompatible implicit declaration of built-in function ‘printf’
user.c:26: error: redefinition of ‘i’
user.c:14: note: previous definition of ‘i’ was here
user.c:26: error: ‘for’ loop initial declarations are only allowed in C99 mode
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !