Pagini recente » Borderou de evaluare (job #85750) | Borderou de evaluare (job #3243235) | Borderou de evaluare (job #207630) | Tri3 | Borderou de evaluare (job #494556)
Borderou de evaluare (job #494556)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if( din[k][i - v2[k]] == 0 || din[k][i - v2[k]] > din[j][i] + v1[k] && i > v2[ k ])
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in", "r", stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out", "w", stdout);
^
user.cpp:10:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld", &n, &p, &k);
^
user.cpp:13:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &v1[i], &v2[i]);
^
user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &c1, &c2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 296kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | Depăşit | 696kb | Time limit exceeded. | 0 |
| 4 | 96ms | 668kb | OK | 10 |
| 5 | 16ms | 356kb | OK | 10 |
| 6 | 0ms | 344kb | OK | 10 |
| 7 | 4ms | 396kb | OK | 10 |
| 8 | 0ms | 288kb | OK | 10 |
| 9 | 68ms | 608kb | OK | 10 |
| 10 | Depăşit | 664kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |