Pagini recente » Borderou de evaluare (job #2631682) | Borderou de evaluare (job #2079090) | Borderou de evaluare (job #1393570) | Borderou de evaluare (job #2485390) | Borderou de evaluare (job #1333388)
Borderou de evaluare (job #1333388)
Raport evaluator
Compilare:
user.cpp: In function ‘void RMQ(int)’:
user.cpp:13:51: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
d[i][j]=min(d[i-1][j],d[i-1][j+1<<(i-1)]);
^
user.cpp: In function ‘int main()’:
user.cpp:20:40: 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:21:42: 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:22:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:23:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) scanf("%d",&d[0][i]);
^
user.cpp:28:36: 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 | 264kb | Incorect | 0 | 0 |
2 | 0ms | 276kb | Incorect | 0 | 0 |
3 | 4ms | 480kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 16ms | 1896kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 16ms | 1900kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 16ms | 2088kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 24ms | 2628kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 32ms | 3152kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 28ms | 3152kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
10 | 28ms | 3156kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
Punctaj total | 0 |