Borderou de evaluare (job #2143171)

Utilizator stefanchistefan chiper stefanchi Data 25 februarie 2018 17:14:48
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void afisare()’: user.cpp:89:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<std::vector<int> >::size_type {aka long unsigned int}’ [-Wformat=] printf("%d\n",componente.size()); ^ user.cpp:91:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < componente.size(); i++) ^ user.cpp:95:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<int>::size_type {aka long unsigned int}’ [-Wformat=] printf(" nr de elemente %d \n",componente[i].size()); ^ user.cpp: In function ‘void read()’: user.cpp:17:36: 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:18:38: 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:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:23:29: 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
10ms3768kbComponente biconexe: numar gresit0
20ms3768kbComponente biconexe: numar gresit0
30ms3772kbComponente biconexe: numar gresit0
44ms3844kbComponente biconexe: numar gresit0
54ms3908kbComponente biconexe: numar gresit0
612ms4332kbComponente biconexe: numar gresit0
724ms4800kbComponente biconexe: numar gresit0
8220msDepăşitMemory limit exceeded.0
9208ms14908kbComponente biconexe: numar gresit0
10276ms17012kbComponente biconexe: numar gresit0
Punctaj total0

Ceva nu functioneaza?