Borderou de evaluare (job #2721896)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 12 martie 2021 13:41:00
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:16:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<adc[nod].size();++i) ~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:25:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lca.in","r",stdin); ^ main.cpp:26:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lca.out","w",stdout); ^ main.cpp:27:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&q); ^ main.cpp:31:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ main.cpp:49:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
17ms2490kbOK1010
28ms2621kbOK1010
331ms4718kbOK1010
4254ms14548kbIncorect00
5131ms15597kbKilled by Signal 1100
6129ms15597kbKilled by Signal 1100
799ms20316kbKilled by Signal 1100
8122ms15597kbKilled by Signal 1100
9132ms15597kbKilled by Signal 110
10129ms15597kbKilled by Signal 110
Punctaj total30

Ceva nu functioneaza?