Pagini recente » Borderou de evaluare (job #1173549) | Borderou de evaluare (job #590388) | Borderou de evaluare (job #1408734) | Borderou de evaluare (job #2517759) | Borderou de evaluare (job #2642039)
Borderou de evaluare (job #2642039)
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 |
1 | 7ms | 2359kb | Killed by Signal 11 | 0 | 0 |
2 | 7ms | 2359kb | Killed by Signal 11 | 0 |
3 | 8ms | 2490kb | Killed by Signal 11 | 0 | 0 |
4 | 10ms | 2621kb | Killed by Signal 11 | 0 |
5 | 57ms | 6684kb | Killed by Signal 11 | 0 | 0 |
6 | 49ms | 4718kb | Killed by Signal 11 | 0 |
7 | 59ms | 6422kb | Killed by Signal 11 | 0 |
8 | 52ms | 4718kb | Killed by Signal 11 | 0 |
9 | 60ms | 4063kb | Killed by Signal 11 | 0 | 0 |
10 | 71ms | 4063kb | Killed by Signal 11 | 0 |
11 | 54ms | 4063kb | Killed by Signal 11 | 0 |
12 | 65ms | 4063kb | Killed by Signal 11 | 0 |
13 | 76ms | 4194kb | Killed by Signal 11 | 0 | 0 |
14 | 75ms | 4194kb | Killed by Signal 11 | 0 |
15 | 76ms | 4194kb | Killed by Signal 11 | 0 |
16 | 78ms | 4194kb | Killed by Signal 11 | 0 |
17 | 85ms | 4194kb | Killed by Signal 11 | 0 | 0 |
18 | 85ms | 4194kb | Killed by Signal 11 | 0 |
19 | 84ms | 4194kb | Killed by Signal 11 | 0 |
20 | 83ms | 4194kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |