Pagini recente » Borderou de evaluare (job #1160924) | Borderou de evaluare (job #1029876) | Borderou de evaluare (job #1432013) | Borderou de evaluare (job #260058) | Borderou de evaluare (job #1402770)
Borderou de evaluare (job #1402770)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bellmanFord()’:
user.cpp:126: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:182: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:183: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:186:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:188: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:190: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 | 640kb | Corect! | 5 |
| 3 | 0ms | 1144kb | Suma minima gresita | 2 |
| 4 | Depăşit | 1876kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 2308kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 3028kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 3656kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 4612kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5364kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 6072kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 7520kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 7520kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 8376kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 8996kb | 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 | 11876kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 11812kb | Time limit exceeded. | 0 |
| Punctaj total | 12 |