Pagini recente » Borderou de evaluare (job #2016467) | Borderou de evaluare (job #2275595) | Borderou de evaluare (job #3021641) | Borderou de evaluare (job #1213832) | Borderou de evaluare (job #2275679)
Borderou de evaluare (job #2275679)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:60:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; sol.size() < n - 1; i++)
~~~~~~~~~~~^~~~~~~
main.cpp:47:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in", "r", stdin);
^
main.cpp:48:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out", "w", stdout);
^
main.cpp:51:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:53:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &v[i].x, &v[i].y, &v[i].cost);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect | 10 |
| 2 | 2ms | 131kb | Corect | 10 |
| 3 | 2ms | 131kb | Corect | 10 |
| 4 | 2ms | 131kb | Corect | 10 |
| 5 | 3ms | 131kb | Corect | 10 |
| 6 | 401ms | 1835kb | Time limit exceeded | 0 |
| 7 | 400ms | 2883kb | Time limit exceeded | 0 |
| 8 | 403ms | 786kb | Time limit exceeded | 0 |
| 9 | 62ms | 786kb | Corect | 10 |
| 10 | 400ms | 2621kb | Time limit exceeded | 0 |
| Punctaj total | 60 |