Pagini recente » Borderou de evaluare (job #1595432) | Borderou de evaluare (job #784196) | Borderou de evaluare (job #2805374) | Borderou de evaluare (job #1031497) | Borderou de evaluare (job #1427402)
Borderou de evaluare (job #1427402)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:19: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(i&1==j&1)
^
user.cpp:6:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:6:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:6:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:8:138: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d",&a,&b,&e,&f,&g,&h),i=(e<g?(g-e):(e-g)),j=(f<h?(h-f):(f-h)),c=e<g?e:g,d=f<h?f:h,m=e<g?g:e,n=f<h?h:f,k=i<j?i:j;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 56ms | 248kb | Incorect | 0 |
2 | 88ms | 244kb | Incorect | 0 |
3 | 112ms | 240kb | Incorect | 0 |
4 | 0ms | 244kb | OK | 10 |
5 | 0ms | 232kb | Incorect | 0 |
6 | 0ms | 248kb | Incorect | 0 |
7 | 0ms | 248kb | Incorect | 0 |
8 | 0ms | 240kb | Incorect | 0 |
9 | 0ms | 248kb | Incorect | 0 |
10 | 0ms | 244kb | Incorect | 0 |
Punctaj total | 10 |