Borderou de evaluare (job #2391841)
| Utilizator | Data | 29 martie 2019 12:02:03 | |
|---|---|---|---|
| Problema | Statistici de ordine | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int P(int*, int, int)':
main.cpp:23:18: error: 'swap' was not declared in this scope
swap(a[i],a[j]);
^
main.cpp: In function 'int main()':
main.cpp:40:3: error: 'f' was not declared in this scope
f>>a[i];
^
main.cpp:38:81: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sdo.in","r",stdin),freopen("sdo.out","w",stdout),fread(r,1,N,stdin);
^
main.cpp:38:81: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:38:81: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
