Borderou de evaluare (job #1971123)

Utilizator andreigasparoviciAndrei Gasparovici andreigasparovici Data 19 aprilie 2017 20:38:52
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:48:57: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if((tata == -1 && copii >= 2) || tata != -1 && low[fiu] >= t[nod]){ ^ user.cpp: In function ‘int main()’: user.cpp:92:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if(viz[it] < graf[it].size() - 1 && este[it]){ ^ user.cpp: In function ‘void citire()’: user.cpp:23: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:24: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:25: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:28:31: 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
14ms4364kbComponente biconexe: componenta gresita4
24ms4360kbCorect10
34ms4368kbComponente biconexe: componenta gresita4
48ms4416kbComponente biconexe: componenta gresita4
58ms4456kbComponente biconexe: componenta gresita4
616ms4752kbComponente biconexe: componenta gresita4
724ms5048kbComponente biconexe: componenta gresita4
8224msDepăşitMemory limit exceeded.0
9156ms9992kbComponente biconexe: componenta gresita4
10204ms12304kbComponente biconexe: componenta gresita4
Punctaj total42

Ceva nu functioneaza?