Pagini recente » Borderou de evaluare (job #2174038) | Borderou de evaluare (job #1863018) | Borderou de evaluare (job #1279574) | Borderou de evaluare (job #275183) | Borderou de evaluare (job #2388313)
Borderou de evaluare (job #2388313)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= n; i++) {
~~^~~~
main.cpp:24:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker3.in", "r", stdin);
^
main.cpp:25:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker3.out", "w", stdout);
^
main.cpp:29:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &n);
^
main.cpp:31:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu %llu", &a[i], &b[i]);
^
main.cpp:51:20: warning: iteration 31 invokes undefined behavior [-Waggressive-loop-optimizations]
if (dp[n][i]) sol = min(sol, dp[n][i]);
~~~~~~~^
main.cpp:50:24: note: within this loop
for (uint i = 0; i <= pmax; i++) {
~~^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 2ms | 131kb | OK | 5 | 5 |
| 3 | 2ms | 131kb | OK | 5 | 5 |
| 4 | 2ms | 131kb | Incorect | 0 | 0 |
| 5 | 6ms | 393kb | Incorect | 0 | 0 |
| 6 | 6ms | 393kb | Incorect | 0 | 0 |
| 7 | 7ms | 393kb | Incorect | 0 | 0 |
| 8 | 6ms | 393kb | Incorect | 0 | 0 |
| 9 | 3ms | 131kb | Wall time limit exceeded | 0 | 0 |
| 10 | 3ms | 131kb | Wall time limit exceeded | 0 |
| 11 | 3ms | 131kb | Wall time limit exceeded | 0 |
| 12 | 3ms | 131kb | Wall time limit exceeded | 0 |
| 13 | 3ms | 131kb | Wall time limit exceeded | 0 |
| 14 | 3ms | 131kb | Wall time limit exceeded | 0 |
| 15 | 3ms | 131kb | Wall time limit exceeded | 0 | 0 |
| 16 | 3ms | 131kb | Wall time limit exceeded | 0 |
| 17 | 3ms | 131kb | Wall time limit exceeded | 0 |
| 18 | 3ms | 131kb | Wall time limit exceeded | 0 |
| 19 | 3ms | 131kb | Wall time limit exceeded | 0 |
| 20 | 4ms | 131kb | Wall time limit exceeded | 0 |
| Punctaj total | 15 |