Borderou de evaluare (job #2145758)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 27 februarie 2018 16:37:08
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 42

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<std::vector<int> >::size_type {aka long unsigned int}’ [-Wformat=] fprintf(fo,"%d\n", M.size()); ^ user.cpp:48:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < M.size(); i++){ ^ user.cpp:39:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &n, &m); ^ user.cpp:42:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms5520kbComponente biconexe: componenta gresita4
24ms5520kbCorect10
34ms5524kbComponente biconexe: componenta gresita4
44ms5572kbComponente biconexe: componenta gresita4
54ms5612kbComponente biconexe: componenta gresita4
612ms5888kbComponente biconexe: componenta gresita4
716ms6208kbComponente biconexe: componenta gresita4
8224msDepăşitMemory limit exceeded.0
9136ms10520kbComponente biconexe: componenta gresita4
10180ms12716kbComponente biconexe: componenta gresita4
Punctaj total42

Ceva nu functioneaza?