Pagini recente » Borderou de evaluare (job #1049940) | Borderou de evaluare (job #121034) | Borderou de evaluare (job #1604590) | Borderou de evaluare (job #2388320) | Borderou de evaluare (job #2388321)
Borderou de evaluare (job #2388321)
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 40 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 | 7ms | 524kb | Incorect | 0 | 0 |
| 6 | 7ms | 524kb | Incorect | 0 | 0 |
| 7 | 7ms | 524kb | Incorect | 0 | 0 |
| 8 | 7ms | 524kb | Incorect | 0 | 0 |
| 9 | 318ms | 3538kb | Incorect | 0 | 0 |
| 10 | 325ms | 3538kb | Incorect | 0 |
| 11 | 316ms | 3670kb | Incorect | 0 |
| 12 | 317ms | 3670kb | Incorect | 0 |
| 13 | 340ms | 3538kb | Incorect | 0 |
| 14 | 361ms | 3538kb | Incorect | 0 |
| 15 | 50ms | 4751kb | Memory limit exceeded | 0 | 0 |
| 16 | 51ms | 4751kb | Memory limit exceeded | 0 |
| 17 | 41ms | 4751kb | Memory limit exceeded | 0 |
| 18 | 49ms | 4751kb | Memory limit exceeded | 0 |
| 19 | 49ms | 4751kb | Memory limit exceeded | 0 |
| 20 | 73ms | 4751kb | Memory limit exceeded | 0 |
| Punctaj total | 15 |