Borderou de evaluare (job #2346306)
Utilizator | Data | 17 februarie 2019 15:29:26 | |
---|---|---|---|
Problema | Zmeu2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:8: error: expected constructor, destructor, or type conversion before '(' token
freopen("zmeu2.in","r",stdin);
^
main.cpp:6:8: error: expected constructor, destructor, or type conversion before '(' token
freopen("zmeu2.out","w",stdout);
^
main.cpp: In function 'int main()':
main.cpp:35:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd", &n, &p, &k);
^
main.cpp:43:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &d[i], &c[i]);
^
main.cpp:50:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &x, &y);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !