Pagini recente » Borderou de evaluare (job #2127375) | Borderou de evaluare (job #2299109) | Borderou de evaluare (job #1898100) | Borderou de evaluare (job #2369200) | Borderou de evaluare (job #1402776)
Borderou de evaluare (job #1402776)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bellmanFord()’:
user.cpp:128: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:187: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:188: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:191:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:193: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:195: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 | 512kb | Corect! | 5 |
| 2 | 0ms | 644kb | Corect! | 5 |
| 3 | 0ms | 1140kb | Suma minima gresita | 2 |
| 4 | Depăşit | 1880kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 2312kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 3024kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 3660kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 4620kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5364kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 6076kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 7520kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 7528kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 8376kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 8988kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 9968kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 10420kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 11280kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 11808kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 11872kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 11812kb | Time limit exceeded. | 0 |
| Punctaj total | 12 |