Borderou de evaluare (job #2507050)
Utilizator | Data | 9 decembrie 2019 15:42:47 | |
---|---|---|---|
Problema | Camera | Status | done |
Runda | Lista lui wefgef | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dreapta(point, point)':
main.cpp:45:11: warning: unused variable 'ok' [-Wunused-variable]
int i,ok=0;
^~
main.cpp: In function 'void aria()':
main.cpp:75:29: error: 'swap' was not declared in this scope
swap(v[i],v[i+1]);
^
main.cpp: In function 'int main()':
main.cpp:90:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("camera.in","r",stdin);
^
main.cpp:91:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("camera.out","w",stdout);
^
main.cpp:92:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:94:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !