Borderou de evaluare (job #1530161)
Utilizator | Data | 21 noiembrie 2015 11:55:14 | |
---|---|---|---|
Problema | Por Costel, Zeul | Status | done |
Runda | FMI No Stress 6 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:15: error: variable ‘std::ofstream fout’ has initializer but incomplete type
ofstream fout("zeul.out");
^
user.cpp:56:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i<Sol.size(); ++i) {
^
user.cpp:20:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeul.in", "r", stdin);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !