Pagini recente » Borderou de evaluare (job #3234941) | Borderou de evaluare (job #119457) | Borderou de evaluare (job #101233) | Borderou de evaluare (job #2784693) | Borderou de evaluare (job #1256628)
Borderou de evaluare (job #1256628)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Graph::forms_cycle(Edge)’:
user.cpp:77:6: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In member function ‘void Graph::print_edges()’:
user.cpp:97:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); i++){
^
user.cpp: In member function ‘void Graph::compute_mst()’:
user.cpp:106:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1 ;i < v.size(); i++){
^
user.cpp: In member function ‘void Graph::print_mst()’:
user.cpp:120:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < mst_indexes.size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:129:33: 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:130:35: 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:132: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:136:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | Corect | 10 |
2 | 0ms | 444kb | Corect | 10 |
3 | 0ms | 448kb | Corect | 10 |
4 | 0ms | 460kb | Corect | 10 |
5 | 0ms | 464kb | Corect | 10 |
6 | 100ms | 2160kb | Corect | 10 |
7 | 184ms | 4080kb | Corect | 10 |
8 | 36ms | 1336kb | Corect | 10 |
9 | 48ms | 1280kb | Corect | 10 |
10 | 160ms | 3836kb | Corect | 10 |
Punctaj total | 100 |