Pagini recente » Borderou de evaluare (job #913531) | Borderou de evaluare (job #97169) | Borderou de evaluare (job #2116703) | Borderou de evaluare (job #2874313) | Borderou de evaluare (job #1256625)
Borderou de evaluare (job #1256625)
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:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out","w",stdin);
^
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 | 360kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 364kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 360kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 360kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 360kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 360kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 360kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 356kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 360kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 356kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |