Pagini recente » Borderou de evaluare (job #720496) | Borderou de evaluare (job #218827) | Borderou de evaluare (job #1294476) | Borderou de evaluare (job #656763) | Borderou de evaluare (job #2192199)
Borderou de evaluare (job #2192199)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30: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:12: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:13: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:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:18: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 | 880kb | OK | 5 |
| 2 | 0ms | 808kb | OK | 5 |
| 3 | 0ms | 864kb | OK | 5 |
| 4 | 0ms | 872kb | OK | 5 |
| 5 | 4ms | 800kb | OK | 5 |
| 6 | 4ms | 784kb | OK | 5 |
| 7 | 28ms | 916kb | OK | 5 |
| 8 | 24ms | 916kb | OK | 5 |
| 9 | 24ms | 912kb | OK | 5 |
| 10 | 24ms | 912kb | OK | 5 |
| 11 | Depăşit | 1184kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 1176kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 1176kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 1184kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1180kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1176kb | 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 |