Pagini recente » Borderou de evaluare (job #3002472) | Borderou de evaluare (job #2037156) | Borderou de evaluare (job #2450202) | Borderou de evaluare (job #1164889) | Borderou de evaluare (job #1427401)
Borderou de evaluare (job #1427401)
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: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 | 56ms | 256kb | Incorect | 0 |
| 2 | 84ms | 256kb | Incorect | 0 |
| 3 | 124ms | 252kb | Incorect | 0 |
| 4 | 0ms | 256kb | OK | 10 |
| 5 | 0ms | 240kb | Incorect | 0 |
| 6 | 0ms | 252kb | Incorect | 0 |
| 7 | 0ms | 248kb | Incorect | 0 |
| 8 | 0ms | 252kb | Incorect | 0 |
| 9 | 0ms | 252kb | Incorect | 0 |
| 10 | 0ms | 252kb | Incorect | 0 |
| Punctaj total | 10 |