Pagini recente » Borderou de evaluare (job #783556) | Borderou de evaluare (job #262425) | Borderou de evaluare (job #1409755) | Borderou de evaluare (job #398269) | Borderou de evaluare (job #1427399)
Borderou de evaluare (job #1427399)
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)?((i+j)/2):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 | 248kb | Incorect | 0 |
8 | 0ms | 248kb | Incorect | 0 |
9 | 0ms | 244kb | Incorect | 0 |
10 | 0ms | 244kb | Incorect | 0 |
Punctaj total | 10 |