Pagini recente » Borderou de evaluare (job #841188) | Borderou de evaluare (job #1792305) | Cod sursa (job #2731988) | Borderou de evaluare (job #2424963) | Borderou de evaluare (job #1623494)
Borderou de evaluare (job #1623494)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:18: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
if(p1!=0||(l1==c1==1))
^
user.cpp:109:18: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
if(p2!=0||(c2==l2==1))
^
user.cpp:155:18: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
if(p3!=0||(l1==c1==1))
^
user.cpp:199:18: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
if(p4!=0||(l2==c2==1))
^
user.cpp:5:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vis.in","r",stdin);
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vis.out","w",stdout);
^
user.cpp:7:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d%d",&n,&k1,&k2,&l1,&c1,&l2,&c2);
^
user.cpp:12:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | Incorect | 0 |
2 | 0ms | 352kb | OK | 10 |
3 | 0ms | 680kb | OK | 10 |
4 | 92ms | 6164kb | OK | 10 |
5 | 92ms | 6156kb | OK | 10 |
6 | 136ms | 7812kb | OK | 10 |
7 | 184ms | 9596kb | OK | 10 |
8 | 256ms | 12888kb | OK | 10 |
9 | 364ms | 15972kb | OK | 10 |
10 | 4ms | 1120kb | OK | 10 |
Punctaj total | 90 |