Borderou de evaluare (job #147166)
Utilizator | Data | 2 martie 2008 17:23:45 | |
---|---|---|---|
Problema | Elimin | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
user.cpp: In function 'void s(long int*, long int)':
user.cpp:43: warning: unused variable 'p'
user.cpp:43: warning: unused variable 'c'
user.cpp: In function 'int main()':
user.cpp:58: warning: format '%ld' expects type 'long int*', but argument 3 has type 'short int*'
user.cpp:58: warning: format '%ld' expects type 'long int*', but argument 4 has type 'short int*'
user.cpp:58: warning: format '%ld' expects type 'long int*', but argument 5 has type 'short int*'
user.cpp:58: warning: format '%ld' expects type 'long int*', but argument 6 has type 'short int*'
user.cpp:66: warning: format '%d' expects type 'int*', but argument 3 has type 'short int*'
user.cpp:79: warning: format '%d' expects type 'int*', but argument 3 has type 'short int*'
user.cpp:132: error: cannot convert 'short int*' to 'long int*' for argument '1' to 'void s(long int*, long int)'
user.cpp:154: warning: format '%ld' expects type 'long int', but argument 3 has type 'int'
user.cpp: At global scope:
user.cpp:160: error: conflicting declaration 'long int ok'
user.cpp:2: error: 'ok' has a previous declaration as 'short int ok'
user.cpp:160: error: conflicting declaration 'long int sum [522]'
user.cpp:2: error: 'sum' has a previous declaration as 'short int sum [522]'
user.cpp:160: error: conflicting declaration 'long int sum2 [522]'
user.cpp:2: error: 'sum2' has a previous declaration as 'short int sum2 [522]'
user.cpp:160: error: conflicting declaration 'long int s2'
user.cpp:2: error: 's2' has a previous declaration as 'short int s2'
user.cpp:160: error: conflicting declaration 'long int k'
user.cpp:2: error: 'k' has a previous declaration as 'short int k'
user.cpp:160: error: conflicting declaration 'long int su'
user.cpp:2: error: 'su' has a previous declaration as 'short int su'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !