Pagini recente » Borderou de evaluare (job #1540420) | Borderou de evaluare (job #1536877) | Borderou de evaluare (job #1339298) | Cod sursa (job #2467002) | Borderou de evaluare (job #1412180)
Borderou de evaluare (job #1412180)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:53: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
printf("%d\n",best[a][lung]<best[b-(1<<lung-1)][lung]?best[a][lung]:best[b-(1<<lung-1)][lung]);
^
user.cpp:30:93: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
printf("%d\n",best[a][lung]<best[b-(1<<lung-1)][lung]?best[a][lung]:best[b-(1<<lung-1)][lung]);
^
user.cpp:14:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in","r",stdin);
^
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out","w",stdout);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
^
user.cpp:28:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 280kb | OK | 10 | 10 |
| 2 | 0ms | 288kb | Incorect | 0 | 0 |
| 3 | 4ms | 640kb | Incorect | 0 | 0 |
| 4 | 36ms | 3780kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 5 | 40ms | 3784kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 6 | 48ms | 4488kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 64ms | 5900kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 8 | 56ms | 7296kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 9 | 56ms | 7296kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 10 | 56ms | 7300kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| Punctaj total | 10 |