Borderou de evaluare (job #125117)
Utilizator | Data | 20 ianuarie 2008 11:28:58 | |
---|---|---|---|
Problema | Gardieni | Status | done |
Runda | preONI 2008, Runda 3, Clasa a 10-a | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
In file included from /usr/include/c++/4.2/backward/fstream.h:31,
from user.cpp:2:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:40:2: warning: no newline at end of file
user.cpp: In function 'void sort(long int, long int)':
user.cpp:17: error: new declaration 'void sort(long int, long int)'
user.cpp:5: error: ambiguates old declaration 'long int sort(long int, long int)'
user.cpp:19: error: invalid conversion from 'long int' to 'void*'
/usr/include/stdlib.h:780: error: too few arguments to function 'void qsort(void*, size_t, size_t, int (*)(const void*, const void*))'
user.cpp:19: error: at this point in file
user.cpp:20: error: expected `)' before ';' token
user.cpp:20: error: expected `;' before ')' token
user.cpp:20: warning: statement has no effect
user.cpp: In function 'int main()':
user.cpp:30: error: invalid conversion from 'int' to 'void*'
/usr/include/stdlib.h:780: error: too few arguments to function 'void qsort(void*, size_t, size_t, int (*)(const void*, const void*))'
user.cpp:30: error: at this point in file
user.cpp:32: error: 'j' was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !