Pagini recente » Borderou de evaluare (job #1020494) | Borderou de evaluare (job #2487658) | Borderou de evaluare (job #1795831) | Borderou de evaluare (job #2127997) | Borderou de evaluare (job #1751523)
Borderou de evaluare (job #1751523)
Raport evaluator
Compilare:
user.cpp: In function ‘int kruskal()’:
user.cpp:59:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < edges.size(); i++) {
^
user.cpp:75:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < rez.size(); i++) {
^
user.cpp:79:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int uni(int, int)’:
user.cpp:55:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:83:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN, "r",stdin);
^
user.cpp:84:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT,"w",stdout);
^
user.cpp:85: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:89:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &e.x,&e.y,&e.cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | Corect | 10 |
2 | 0ms | 452kb | Corect | 10 |
3 | 0ms | 464kb | Corect | 10 |
4 | 0ms | 468kb | Corect | 10 |
5 | 0ms | 480kb | Corect | 10 |
6 | 100ms | 2444kb | Corect | 10 |
7 | 184ms | 4572kb | Corect | 10 |
8 | 36ms | 1256kb | Corect | 10 |
9 | 40ms | 1260kb | Corect | 10 |
10 | 160ms | 3760kb | Corect | 10 |
Punctaj total | 100 |