Borderou de evaluare (job #1229728)
Utilizator | Data | 17 septembrie 2014 23:40:38 | |
---|---|---|---|
Problema | Bilete | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:13: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin("bilete.in");
^
user.cpp:11:14: error: variable ‘std::ofstream fout’ has initializer but incomplete type
ofstream fout("bilete.out");
^
user.cpp: In function ‘int main()’:
user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bilete.in", "r", stdin);
^
user.cpp:70:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bilete.out", "w", stdout);
^
user.cpp:71:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !