Borderou de evaluare (job #1466226)
Utilizator | Data | 28 iulie 2015 19:36:37 | |
---|---|---|---|
Problema | Roy-Floyd | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:32: error: variable-sized object ‘sptSet’ may not be initialized
bool sptSet[N] = { false };
^
user.cpp:23:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rf.in","r",stdin);
^
user.cpp:24:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rf.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !