Borderou de evaluare (job #2642092)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 13 august 2020 17:45:39
Problema Heavy Path Decomposition Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs1(int)': main.cpp:54:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(vertex[it].first!=vertex[nod].first) ^~ main.cpp:56:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' dfs1(it); ^~~~ main.cpp: In function 'int fct(int, int)': main.cpp:114:12: warning: unused variable 'val_max' [-Wunused-variable] int val_max = 0 ; ^~~~~~~ main.cpp: In function 'int main()': main.cpp:165:17: warning: unused variable 'x1' [-Wunused-variable] int x1 = vertex[a].first; ^~ main.cpp:142:18: warning: unused variable 'j' [-Wunused-variable] int n, q, i, j, a, b , val_max=0; ^ main.cpp:142:28: warning: unused variable 'val_max' [-Wunused-variable] int n, q, i, j, a, b , val_max=0; ^~~~~~~ main.cpp: In function 'int lca(int, int)': main.cpp:111:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int fct(int, int)': main.cpp:137:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:140:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("heavypath.in","r",stdin); ^ main.cpp:141:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("heavypath.out","w",stdout); ^ main.cpp:145:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&value[i]); ^ main.cpp:148:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms131kbKilled by Signal 1100
23ms131kbKilled by Signal 110
33ms131kbKilled by Signal 1100
43ms131kbKilled by Signal 110
54ms131kbWall time limit exceeded00
64ms131kbWall time limit exceeded0
74ms131kbWall time limit exceeded0
85ms131kbWall time limit exceeded0
94ms131kbWall time limit exceeded00
104ms131kbWall time limit exceeded0
114ms131kbWall time limit exceeded0
124ms131kbWall time limit exceeded0
134ms131kbWall time limit exceeded00
145ms131kbWall time limit exceeded0
155ms131kbWall time limit exceeded0
165ms131kbWall time limit exceeded0
175ms131kbWall time limit exceeded00
185ms131kbWall time limit exceeded0
194ms131kbWall time limit exceeded0
205ms131kbWall time limit exceeded0
Punctaj total0

Ceva nu functioneaza?