Borderou de evaluare (job #1422468)

Utilizator CodeJunkiesUPB NAIDEN NICOLAE VADUVA CodeJunkies Data 19 aprilie 2015 14:40:47
Problema Verlab Status done
Runda ONIS 2015, Runda 3 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int ok(int, int, int, int, int)’: user.cpp:38:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k == 0) ^ user.cpp:43:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k == 1) ^ user.cpp:48:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k == 2) ^ user.cpp:53:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k == 3) ^ user.cpp:58:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:135:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("verlab.in","r",stdin); ^ user.cpp:136:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("verlab.out","w",stdout); ^ user.cpp:139:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:142:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &r, &c); ^ user.cpp:145:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
144ms336kbOK100
Punctaj total100

Ceva nu functioneaza?