Borderou de evaluare (job #1830499)

Utilizator DanyBvGeorge-Daniel Gagiu DanyBv Data 16 decembrie 2016 19:58:10
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 42

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:21:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i < G[nod].size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:70:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < C[i].size(); j++) ^ user.cpp:47:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biconex.in", "r", stdin); ^ user.cpp:48:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biconex.out", "w", stdout); ^ user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:56:31: 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
14ms2796kbComponente biconexe: componenta gresita4
24ms2796kbCorect10
34ms2796kbComponente biconexe: componenta gresita4
44ms2836kbComponente biconexe: componenta gresita4
54ms2868kbComponente biconexe: componenta gresita4
612ms3092kbComponente biconexe: componenta gresita4
720ms3312kbComponente biconexe: componenta gresita4
8252ms11824kbKilled by signal 11(SIGSEGV).0
9148ms7396kbComponente biconexe: componenta gresita4
10196ms9328kbComponente biconexe: componenta gresita4
Punctaj total42

Ceva nu functioneaza?