Pagini recente » Borderou de evaluare (job #155143) | Borderou de evaluare (job #1516793) | Borderou de evaluare (job #2279268) | Borderou de evaluare (job #2229547) | Borderou de evaluare (job #2192201)
Borderou de evaluare (job #2192201)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:78: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (!dp[i][j] || costDP < dp[i][j] || costDP == dp[i][j] && costLG > lg[i][j]) {
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rf.in", "r", stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rf.out", "w", stdout);
^
user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:15:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &dp[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 756kb | OK | 5 |
2 | 0ms | 876kb | OK | 5 |
3 | 0ms | 752kb | OK | 5 |
4 | 0ms | 876kb | OK | 5 |
5 | 4ms | 788kb | OK | 5 |
6 | 4ms | 932kb | OK | 5 |
7 | 28ms | 916kb | OK | 5 |
8 | 24ms | 916kb | OK | 5 |
9 | 24ms | 932kb | OK | 5 |
10 | 24ms | 916kb | OK | 5 |
11 | Depăşit | 1176kb | Time limit exceeded. | 0 |
12 | Depăşit | 1176kb | Time limit exceeded. | 0 |
13 | Depăşit | 1180kb | Time limit exceeded. | 0 |
14 | Depăşit | 1176kb | Time limit exceeded. | 0 |
15 | Depăşit | 1176kb | Time limit exceeded. | 0 |
16 | Depăşit | 1180kb | Time limit exceeded. | 0 |
17 | Depăşit | 1180kb | Time limit exceeded. | 0 |
18 | Depăşit | 1180kb | Time limit exceeded. | 0 |
19 | Depăşit | 1180kb | Time limit exceeded. | 0 |
20 | Depăşit | 1180kb | Time limit exceeded. | 0 |
Punctaj total | 50 |