Borderou de evaluare (job #801886)
Utilizator | Data | 25 octombrie 2012 12:56:27 | |
---|---|---|---|
Problema | Bursa | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:28: error: conflicting declaration ‘int p’
user.cpp:28: error: ‘p’ has a previous declaration as ‘int p [100]’
user.cpp:32: error: ‘i’ was not declared in this scope
user.cpp:34: error: invalid conversion from ‘int’ to ‘int*’
user.cpp:34: error: initializing argument 1 of ‘int minim(int*, int)’
user.cpp:34: warning: left-hand operand of comma has no effect
user.cpp:35: error: invalid conversion from ‘int’ to ‘int*’
user.cpp:35: error: initializing argument 1 of ‘int maxim(int*, int, int)’
user.cpp:36: error: incompatible types in assignment of ‘int’ to ‘int [100]’
user.cpp:37: error: invalid operands of types ‘int [100]’ and ‘int’ to binary ‘operator*’
user.cpp:39: error: ‘cout’ was not declared in this scope
user.cpp: At global scope:
user.cpp:43: error: expected constructor, destructor, or type conversion before ‘.’ token
user.cpp:44: error: expected constructor, destructor, or type conversion before ‘.’ token
user.cpp:45: error: expected unqualified-id before ‘return’
user.cpp:46: error: expected declaration before ‘}’ token
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !