Pagini recente » Borderou de evaluare (job #2220945) | Borderou de evaluare (job #1998806) | Borderou de evaluare (job #1694916) | Borderou de evaluare (job #2181604) | Borderou de evaluare (job #1427400)
Borderou de evaluare (job #1427400)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:32: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
printf("%d\n",(i&1==j&1)?(a<b?(a+1):(b+1)):0);
^
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:88: 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));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 248kb | Incorect | 0 |
2 | 100ms | 244kb | Incorect | 0 |
3 | 136ms | 244kb | Incorect | 0 |
4 | 0ms | 240kb | OK | 10 |
5 | 0ms | 244kb | Incorect | 0 |
6 | 0ms | 244kb | Incorect | 0 |
7 | 0ms | 240kb | Incorect | 0 |
8 | 0ms | 248kb | Incorect | 0 |
9 | 0ms | 244kb | Incorect | 0 |
10 | 0ms | 244kb | Incorect | 0 |
Punctaj total | 10 |