Pagini recente » Borderou de evaluare (job #2676762) | Borderou de evaluare (job #1463718) | Borderou de evaluare (job #701589) | Borderou de evaluare (job #1176338) | Borderou de evaluare (job #1402773)
Borderou de evaluare (job #1402773)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bellmanFord()’:
user.cpp:127:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
vis[i] = dad[i] = 0;
^
user.cpp: In function ‘std::pair<double, double> read()’:
user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &x, &y);
^
user.cpp: In function ‘int main()’:
user.cpp:183:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adapost.in", "r", stdin);
^
user.cpp:184:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adapost.out", "w", stdout);
^
user.cpp:187:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:189:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &soldat[i].x, &soldat[i].y);
^
user.cpp:191:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &adapost[i].x, &adapost[i].y);
^
user.cpp: In function ‘double bs(double, double)’:
user.cpp:86:12: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 508kb | Corect! | 5 |
| 2 | 0ms | 636kb | Corect! | 5 |
| 3 | 0ms | 1128kb | Suma minima gresita | 2 |
| 4 | Depăşit | 1840kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 2252kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 2932kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 3536kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 4412kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5164kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 5864kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 7364kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 7372kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 8260kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 8928kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 9936kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 10372kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 11256kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 11788kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 11852kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 11784kb | Time limit exceeded. | 0 |
| Punctaj total | 12 |