Borderou de evaluare (job #2642040)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 13 august 2020 15:10:27
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:55:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(vertex[it].first!=vertex[nod].first) ^~ main.cpp:57: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 main()': main.cpp:137:18: warning: unused variable 'j' [-Wunused-variable] int n, q, i, j, a, b , val_max=0; ^ main.cpp:137: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:109:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:135: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:136: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:140:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&value[i]); ^ main.cpp:143: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
116ms7340kbKilled by Signal 1100
213ms7340kbKilled by Signal 110
315ms7471kbKilled by Signal 1100
419ms7602kbKilled by Signal 110
567ms11796kbKilled by Signal 1100
662ms9699kbKilled by Signal 110
756ms11534kbKilled by Signal 110
860ms9699kbKilled by Signal 110
997ms16121kbKilled by Signal 1100
10101ms12058kbKilled by Signal 110
11102ms15597kbKilled by Signal 110
12105ms12058kbKilled by Signal 110
13161ms18087kbKilled by Signal 1100
14129ms13631kbKilled by Signal 110
15157ms18612kbKilled by Signal 110
16133ms13631kbKilled by Signal 110
17184ms20496kbMemory limit exceeded00
18159ms15204kbKilled by Signal 110
19180ms20496kbMemory limit exceeded0
20160ms15204kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?