Pagini recente » Borderou de evaluare (job #681014) | Borderou de evaluare (job #3234918) | Borderou de evaluare (job #1437409) | Borderou de evaluare (job #3164505) | Borderou de evaluare (job #1695389)
Borderou de evaluare (job #1695389)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ama.size() == N) {
^
user.cpp:63:45: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector<Edge>::size_type {aka unsigned int}’ [-Wformat=]
printf("%d\n%lu\n", min_cost, ama.size());
^
user.cpp:32:35: 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);
^
user.cpp:33:37: 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);
^
user.cpp:35:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:46:69: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &edges[i].n1, &edges[i].n2, &edges[i].cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Corect | 10 |
2 | 0ms | 276kb | Corect | 10 |
3 | 0ms | 280kb | Corect | 10 |
4 | 0ms | 284kb | Corect | 10 |
5 | 0ms | 292kb | Corect | 10 |
6 | 112ms | 2120kb | Corect | 10 |
7 | 204ms | 4076kb | Corect | 10 |
8 | 40ms | 1056kb | Corect | 10 |
9 | 44ms | 792kb | Corect | 10 |
10 | 184ms | 3172kb | Corect | 10 |
Punctaj total | 100 |