Borderou de evaluare (job #1863885)
Utilizator | Data | 31 ianuarie 2017 12:18:33 | |
---|---|---|---|
Problema | Staropramen | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:12: error: expected constructor, destructor, or type conversion before '(' token
freopen("staropramen.in", "r", stdin);
^
main.cpp:8:12: error: expected constructor, destructor, or type conversion before '(' token
freopen("staropramen.out", "w", stdout);
^
main.cpp: In function 'int main()':
main.cpp:12:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nq);
^
main.cpp:15:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &l);
^
main.cpp:19:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c%c", &_c1, &_c2);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !