Borderou de evaluare (job #1998331)
Utilizator | Data | 7 iulie 2017 14:59:17 | |
---|---|---|---|
Problema | Cuburi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void backtrUpperLevel(int, int)’:
user.cpp:57:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
mat[1][i][j] = comp[1][i][j] = szs[1][i][j] = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:160:5: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
return ;
^
user.cpp:169:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int st = 1; st <= Map.size(); ++ st)
^
user.cpp:154:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuburi.in", "r", stdin);
^
user.cpp:155:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuburi.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !