Borderou de evaluare (job #1246435)
Utilizator | Data | 21 octombrie 2014 08:40:49 | |
---|---|---|---|
Problema | Sortare prin comparare | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘void QuickSort::_QuickSort(int, int)’:
user.cpp:66:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(arr[i]<piv) {
^
user.cpp:70:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(arr[j]>piv) {
^
user.cpp: In function ‘int main()’:
user.cpp:96:10: error: ‘read’ was not declared in this scope
read();
^
user.cpp: In member function ‘void QuickSort::print()’:
user.cpp:45:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT, "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !