Pagini recente » Borderou de evaluare (job #791613) | Borderou de evaluare (job #609055) | Borderou de evaluare (job #200405) | Borderou de evaluare (job #2332329) | Borderou de evaluare (job #1518941)
Borderou de evaluare (job #1518941)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:57: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
dp[i][j] = min(dp[i][j - 1], dp[i + (1 << j - 1)][j - 1]);
^
user.cpp:9:34: 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:10: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:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:21:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dp[i][0]);
^
user.cpp:33:30: 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 | 268kb | OK | 10 | 10 |
2 | 0ms | 284kb | OK | 10 | 10 |
3 | 0ms | 620kb | OK | 10 | 10 |
4 | 96ms | 3788kb | OK | 10 | 10 |
5 | 112ms | 3780kb | OK | 10 | 20 |
6 | 624ms | 4488kb | OK | 10 |
7 | 660ms | 5896kb | OK | 10 | 10 |
8 | 772ms | 7292kb | OK | 10 | 10 |
9 | 852ms | 7296kb | OK | 10 | 10 |
10 | 948ms | 7292kb | OK | 10 | 10 |
Punctaj total | 100 |