Pagini recente » Borderou de evaluare (job #3183740) | Borderou de evaluare (job #2241118) | Borderou de evaluare (job #561428) | Borderou de evaluare (job #2816198) | Borderou de evaluare (job #1422468)
Borderou de evaluare (job #1422468)
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 |
1 | 44ms | 336kb | OK | 100 |
Punctaj total | 100 |