Borderou de evaluare (job #944209)
Utilizator | Data | 27 aprilie 2013 17:45:42 | |
---|---|---|---|
Problema | Sume | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:11: warning: unused variable ‘i’
user.c:10: warning: unused variable ‘n’
user.c:9: warning: unused variable ‘result’
user.c:8: warning: unused variable ‘vect’
user.c:16: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
user.c: At top level:
user.c:24: warning: data definition has no type or storage class
user.c:24: warning: type defaults to ‘int’ in declaration of ‘n’
user.c:24: error: ‘p’ undeclared here (not in a function)
user.c:26: error: expected identifier or ‘(’ before ‘if’
user.c:33: warning: data definition has no type or storage class
user.c:33: warning: type defaults to ‘int’ in declaration of ‘vect’
user.c:34: warning: data definition has no type or storage class
user.c:34: warning: type defaults to ‘int’ in declaration of ‘result’
user.c:34: warning: initialization makes integer from pointer without a cast
user.c:34: error: initializer element is not constant
user.c:36: error: expected identifier or ‘(’ before ‘for’
user.c:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
user.c:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
user.c:39: warning: data definition has no type or storage class
user.c:39: warning: type defaults to ‘int’ in declaration of ‘result’
user.c:39: error: conflicting types for ‘result’
user.c:34: note: previous definition of ‘result’ was here
user.c:39: error: subscripted value is neither array nor pointer
user.c:39: error: subscripted value is neither array nor pointer
user.c:39: error: subscripted value is neither array nor pointer
user.c:40: error: expected identifier or ‘(’ before ‘for’
user.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
user.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
user.c:44: error: expected ‘)’ before string constant
user.c:45: error: expected identifier or ‘(’ before ‘for’
user.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<=’ token
user.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
user.c:49: warning: data definition has no type or storage class
user.c:49: warning: type defaults to ‘int’ in declaration of ‘fclose’
user.c:49: warning: parameter names (without types) in function declaration
user.c:50: warning: data definition has no type or storage class
user.c:50: warning: type defaults to ‘int’ in declaration of ‘fclose’
user.c:50: warning: parameter names (without types) in function declaration
user.c:51: error: expected identifier or ‘(’ before ‘return’
user.c:52: error: expected identifier or ‘(’ before ‘}’ token
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !