Borderou de evaluare (job #1883658)

Utilizator zdavid112zIon David-Gabriel zdavid112z Data 18 februarie 2017 09:52:53
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:19:36: 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:62:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < rez.size(); i++) ^ user.cpp:64:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < rez[i].size(); j++) ^ user.cpp:49: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:50: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:51: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:54: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
10ms1464kbComponente biconexe: componenta gresita4
20ms1460kbCorect10
30ms1464kbComponente biconexe: componenta gresita4
40ms1508kbComponente biconexe: componenta gresita4
50ms1540kbComponente biconexe: componenta gresita4
68ms1768kbComponente biconexe: componenta gresita4
716ms1836kbComponente biconexe: componenta gresita4
8284ms11372kbComponente biconexe: numar gresit0
9120ms5700kbComponente biconexe: componenta gresita4
10164ms7684kbComponente biconexe: componenta gresita4
Punctaj total42

Ceva nu functioneaza?