Pagini recente » Borderou de evaluare (job #1300845) | Borderou de evaluare (job #2568004) | Borderou de evaluare (job #1353578) | Borderou de evaluare (job #1074847) | Borderou de evaluare (job #2722241)
Borderou de evaluare (job #2722241)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:65:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n%d\n", minCost, ans.size());
^
main.cpp:37: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:38: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:40: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:43:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 3ms | 131kb | Corect | 10 |
3 | 3ms | 131kb | Corect | 10 |
4 | 3ms | 131kb | Corect | 10 |
5 | 3ms | 131kb | Corect | 10 |
6 | 134ms | 2347kb | Corect | 10 |
7 | 234ms | 5488kb | Corect | 10 |
8 | 55ms | 1044kb | Corect | 10 |
9 | 64ms | 1044kb | Corect | 10 |
10 | 203ms | 4046kb | Corect | 10 |
Punctaj total | 100 |