Pagini recente » Borderou de evaluare (job #1490329) | Borderou de evaluare (job #1774126) | Borderou de evaluare (job #3171302) | Borderou de evaluare (job #1865108) | Borderou de evaluare (job #2642073)
Borderou de evaluare (job #2642073)
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:113:12: warning: unused variable 'val_max' [-Wunused-variable]
int val_max = 0 ;
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:164:17: warning: unused variable 'x1' [-Wunused-variable]
int x1 = vertex[a].first;
^~
main.cpp:141:18: warning: unused variable 'j' [-Wunused-variable]
int n, q, i, j, a, b , val_max=0;
^
main.cpp:141: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:110:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int fct(int, int)':
main.cpp:136:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:139: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:140: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:144:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&value[i]);
^
main.cpp:147: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 |
1 | 3ms | 131kb | Killed by Signal 11 | 0 | 0 |
2 | 3ms | 131kb | Killed by Signal 11 | 0 |
3 | 3ms | 131kb | Killed by Signal 11 | 0 | 0 |
4 | 4ms | 131kb | Killed by Signal 11 | 0 |
5 | 4ms | 131kb | Wall time limit exceeded | 0 | 0 |
6 | 4ms | 131kb | Wall time limit exceeded | 0 |
7 | 5ms | 131kb | Wall time limit exceeded | 0 |
8 | 5ms | 131kb | Wall time limit exceeded | 0 |
9 | 4ms | 131kb | Wall time limit exceeded | 0 | 0 |
10 | 4ms | 131kb | Wall time limit exceeded | 0 |
11 | 5ms | 131kb | Wall time limit exceeded | 0 |
12 | 5ms | 131kb | Wall time limit exceeded | 0 |
13 | 4ms | 131kb | Wall time limit exceeded | 0 | 0 |
14 | 5ms | 131kb | Wall time limit exceeded | 0 |
15 | 5ms | 131kb | Wall time limit exceeded | 0 |
16 | 5ms | 131kb | Wall time limit exceeded | 0 |
17 | 5ms | 131kb | Wall time limit exceeded | 0 | 0 |
18 | 5ms | 131kb | Wall time limit exceeded | 0 |
19 | 5ms | 131kb | Wall time limit exceeded | 0 |
20 | 5ms | 131kb | Wall time limit exceeded | 0 |
Punctaj total | 0 |