Borderou de evaluare (job #2546591)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 14 februarie 2020 12:01:08
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:12:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<v[nod].size();i++) ~^~~~~~~~~~~~~~ main.cpp: In function 'void dfs1(int)': main.cpp:25:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<g[nod].size();i++) ~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:33:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ctc.in","r",stdin); ^ main.cpp:34:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ctc.out","w",stdout); ^ main.cpp:36:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ main.cpp:40: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
112ms4980kbComponente tare conexe: gresit412
212ms4980kbComponente tare conexe: gresit4
312ms4980kbComponente tare conexe: gresit4
413ms4980kbComponente tare conexe: gresit412
519ms5111kbComponente tare conexe: gresit4
631ms5505kbComponente tare conexe: gresit4
744ms6029kbComponente tare conexe: gresit412
8110ms7602kbComponente tare conexe: gresit4
9183ms10485kbComponente tare conexe: gresit4
10219ms12845kbComponente tare conexe: gresit44
Punctaj total40

Ceva nu functioneaza?