Borderou de evaluare (job #2650852)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:64:32: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(i&(1<<k)>0 && k!=j)
~~~~~~^~
main.cpp:14:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("campanie.in", "r", stdin);
^
main.cpp:15:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("campanie.out", "w", stdout);
^
main.cpp:18:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:20:66: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &v[i].xs, &v[i].ys, &v[i].xf, &v[i].yf);
^
main.cpp:21:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
main.cpp:23:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &distx[j]);
^
main.cpp:24:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &h1);
^
main.cpp:26:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &puncte[0][l]);
^
main.cpp:29:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &h2);
^
main.cpp:31:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &puncte[1][l]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 5 |
| 2 | 6ms | 131kb | OK | 5 |
| 3 | 8ms | 131kb | OK | 5 |
| 4 | 75ms | 131kb | OK | 5 |
| 5 | 69ms | 131kb | OK | 5 |
| 6 | 1621ms | 26345kb | OK | 5 |
| 7 | 2038ms | 26345kb | OK | 5 |
| 8 | 1633ms | 13238kb | OK | 5 |
| 9 | 1751ms | 26345kb | OK | 5 |
| 10 | 3514ms | 52690kb | OK | 5 |
| 11 | 1616ms | 26406kb | OK | 5 |
| 12 | 1599ms | 6746kb | OK | 5 |
| 13 | 2481ms | 13295kb | OK | 5 |
| 14 | 1829ms | 26345kb | OK | 5 |
| 15 | 1863ms | 52559kb | OK | 5 |
| 16 | 3050ms | 26345kb | OK | 5 |
| 17 | 2876ms | 26402kb | OK | 5 |
| 18 | 3704ms | 52559kb | OK | 5 |
| 19 | 5120ms | 47579kb | Time limit exceeded | 0 |
| 20 | 701ms | 26345kb | OK | 5 |
| Punctaj total | 95 |