Pagini recente » Borderou de evaluare (job #2794122) | Borderou de evaluare (job #1226431) | Borderou de evaluare (job #2229327) | Borderou de evaluare (job #2857744) | Borderou de evaluare (job #1487108)
Borderou de evaluare (job #1487108)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:54: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
rmq[i][j] = min( rmq[i-1][j] , rmq[i-1][j+ 1<<(i-1) ] );
^
user.cpp:12:35: 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:13:36: 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:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:19:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&rmq[0][i]);
^
user.cpp:33:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 460kb | Incorect | 0 | 0 |
2 | 0ms | 468kb | Incorect | 0 | 0 |
3 | 0ms | 660kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 16ms | 1964kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 16ms | 1964kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 20ms | 2240kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 24ms | 2780kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 32ms | 3092kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 32ms | 3096kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
10 | 32ms | 3096kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
Punctaj total | 0 |