Pagini recente » Cod sursa (job #2767581) | Borderou de evaluare (job #1661103) | Borderou de evaluare (job #1683775) | Cod sursa (job #2769981) | Borderou de evaluare (job #1601698)
Borderou de evaluare (job #1601698)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:32:9: warning: unused variable ‘c’ [-Wunused-variable]
int c, x, y;
^
user.cpp:32:12: warning: unused variable ‘x’ [-Wunused-variable]
int c, x, y;
^
user.cpp:32:15: warning: unused variable ‘y’ [-Wunused-variable]
int c, x, y;
^
user.cpp: In function ‘void Kruskal()’:
user.cpp:59:16: warning: unused variable ‘j’ [-Wunused-variable]
int muchie,j,cTotal=0,nrM=0, rootx, rooty; //numarul muchiilor selectate e 0
^
user.cpp: In function ‘int main()’:
user.cpp:23:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in","rt",stdin);
^
user.cpp:24:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out","wt",stdout);
^
user.cpp: In function ‘void citire()’:
user.cpp:36:53: 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].c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | Corect | 10 |
2 | 0ms | 448kb | Corect | 10 |
3 | 0ms | 460kb | Corect | 10 |
4 | 0ms | 464kb | Corect | 10 |
5 | 0ms | 484kb | Cost incorect | 0 |
6 | 120ms | 2112kb | Cost incorect | 0 |
7 | 212ms | 4468kb | Cost incorect | 0 |
8 | 44ms | 1276kb | Cost incorect | 0 |
9 | 48ms | 1276kb | Cost incorect | 0 |
10 | 188ms | 3436kb | Cost incorect | 0 |
Punctaj total | 40 |