Pagini recente » Borderou de evaluare (job #418390) | Borderou de evaluare (job #1354551) | Borderou de evaluare (job #743832) | Borderou de evaluare (job #468875) | Borderou de evaluare (job #1412178)
Borderou de evaluare (job #1412178)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36: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:36: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:34: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 | 284kb | Incorect | 0 | 0 |
2 | 0ms | 292kb | Incorect | 0 | 0 |
3 | 4ms | 640kb | Incorect | 0 | 0 |
4 | 36ms | 3784kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 40ms | 3784kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 48ms | 4484kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 60ms | 5896kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 56ms | 7296kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 52ms | 7296kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
10 | 56ms | 7292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
Punctaj total | 0 |