Borderou de evaluare (job #615158)
Utilizator | Data | 8 octombrie 2011 18:52:13 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:1:19: error: fstream: No such file or directory
user.c:2:18: error: vector: No such file or directory
user.c:3:17: error: stack: No such file or directory
user.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’
user.c: In function ‘main’:
user.c:9: error: ‘ifstream’ undeclared (first use in this function)
user.c:9: error: (Each undeclared identifier is reported only once
user.c:9: error: for each function it appears in.)
user.c:9: error: expected ‘;’ before ‘in’
user.c:10: error: ‘vector’ undeclared (first use in this function)
user.c:10: error: expected expression before ‘int’
user.c:12: error: ‘in’ undeclared (first use in this function)
user.c:13: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:13: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:16: error: ‘s1’ undeclared (first use in this function)
user.c:18: error: redefinition of ‘i’
user.c:13: note: previous definition of ‘i’ was here
user.c:18: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:21: error: ‘s2’ undeclared (first use in this function)
user.c:27: error: redefinition of ‘i’
user.c:18: note: previous definition of ‘i’ was here
user.c:27: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:29: error: redefinition of ‘i’
user.c:27: note: previous definition of ‘i’ was here
user.c:29: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:32: error: redefinition of ‘i’
user.c:29: note: previous definition of ‘i’ was here
user.c:32: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:33: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:38: warning: implicit declaration of function ‘max’
user.c:41: error: redefinition of ‘i’
user.c:32: note: previous definition of ‘i’ was here
user.c:41: error: redefinition of ‘j’
user.c:33: note: previous definition of ‘j’ was here
user.c:42: error: ‘stack’ undeclared (first use in this function)
user.c:42: error: expected expression before ‘int’
user.c:48: error: ‘sol’ undeclared (first use in this function)
user.c:59: error: ‘ofstream’ undeclared (first use in this function)
user.c:59: error: expected ‘;’ before ‘out’
user.c:60: error: ‘out’ undeclared (first use in this function)
user.c:60: error: ‘endl’ undeclared (first use in this function)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !