Borderou de evaluare (job #1272072)
Utilizator | Data | 22 noiembrie 2014 13:37:57 | |
---|---|---|---|
Problema | Grid | Status | done |
Runda | FMI No Stress 5 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void rezolva_problema()’:
user.cpp:35:9: error: ‘el1’ was not declared in this scope
el1=cauta_poz(x1, y1);
^
user.cpp:35:29: error: ‘cauta_poz’ was not declared in this scope
el1=cauta_poz(x1, y1);
^
user.cpp:36:9: error: ‘el2’ was not declared in this scope
el2=cauta_poz(x2, y2);
^
user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:34:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &x1, &y1, &x2, &y2);
^
user.cpp: In function ‘int main()’:
user.cpp:52:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("grid.in", "r", stdin);
^
user.cpp:53:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("grid.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !