Borderou de evaluare (job #1345294)
Utilizator | Data | 17 februarie 2015 15:16:18 | |
---|---|---|---|
Problema | Geometrie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void quick(int, int, int)’:
user.cpp:30:5: error: ‘piv’ was not declared in this scope
piv = A [w][m];
^
user.cpp:42:20: error: return-statement with a value, in function returning 'void' [-fpermissive]
return j;
^
user.cpp: In function ‘void quick(int, int, int)’:
user.cpp:46:6: error: redefinition of ‘void quick(int, int, int)’
void quick (int st, int dr, int w) {
^
user.cpp:21:6: error: ‘void quick(int, int, int)’ previously defined here
void quick (int st, int dr, int w) {
^
user.cpp:49:24: error: ‘part’ was not declared in this scope
p = part (st, dr, w);
^
user.cpp: In function ‘int main()’:
user.cpp:62:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("geom.in", "r", stdin);
^
user.cpp:63:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("geom.out", "w", stdout);
^
user.cpp:65:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &g);
^
user.cpp:73:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%lld%lld", &P [i].x, &P [i].y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !