Borderou de evaluare (job #2188799)

Utilizator zdavid112zIon David-Gabriel zdavid112z Data 27 martie 2018 14:43:29
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 12

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:18:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < g[nod].size(); i++) ~~^~~~~~~~~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:67:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < rez[i].size(); j++) ~~^~~~~~~~~~~~~~~ user.cpp:46: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:47: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:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:52:30: 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
14ms4704kbComponente biconexe: componenta gresita4
24ms4704kbComponente biconexe: numar gresit0
34ms4700kbComponente biconexe: componenta gresita4
44ms4736kbComponente biconexe: componenta gresita4
54ms4768kbComponente biconexe: numar gresit0
68ms4996kbComponente biconexe: numar gresit0
716ms5396kbComponente biconexe: numar gresit0
8240ms11904kbComponente biconexe: numar gresit0
9108ms9524kbComponente biconexe: numar gresit0
10144ms11236kbKilled by signal 11(SIGSEGV).0
Punctaj total12

Ceva nu functioneaza?