Borderou de evaluare (job #2175456)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 16 martie 2018 17:17:03
Problema Ciclu hamiltonian de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:11:18: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] int n, m, d[20][1<<18+1], c[20][20]; ^ user.cpp: In function ‘void dfs(int)’: user.cpp:34:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<graf[nod].size();i++) ^ user.cpp:35:44: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses] if(drum^(1<<(graf[nod][i]))==0) ^ user.cpp: In function ‘void afisare()’: user.cpp:44:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<graf[0].size();i++) ^ user.cpp: In function ‘void citire()’: user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:21:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &x, &y); ^ user.cpp:22:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &c[x][y]); ^ user.cpp: In function ‘int main()’: user.cpp:54:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hamilton.in", "r", stdin); ^ user.cpp:55:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hamilton.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
132msDepăşitMemory limit exceeded.0
232msDepăşitMemory limit exceeded.0
332msDepăşitMemory limit exceeded.0
432msDepăşitMemory limit exceeded.0
532msDepăşitMemory limit exceeded.0
632msDepăşitMemory limit exceeded.0
732msDepăşitMemory limit exceeded.0
832msDepăşitMemory limit exceeded.0
932msDepăşitMemory limit exceeded.0
1032msDepăşitMemory limit exceeded.0
1132msDepăşitMemory limit exceeded.0
1232msDepăşitMemory limit exceeded.0
1332msDepăşitMemory limit exceeded.0
1432msDepăşitMemory limit exceeded.0
1532msDepăşitMemory limit exceeded.0
1632msDepăşitMemory limit exceeded.0
1732msDepăşitMemory limit exceeded.0
1832msDepăşitMemory limit exceeded.0
1932msDepăşitMemory limit exceeded.0
2032msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?