Borderou de evaluare (job #2444512)

Utilizator alexoloieriAlexandru Oloieri alexoloieri Data 31 iulie 2019 17:27:59
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In constructor 'sccKosarajuSharir::sccKosarajuSharir()': main.cpp:13:10: warning: 'sccKosarajuSharir::created' will be initialized after [-Wreorder] bool created; ^~~~~~~ main.cpp:11:11: warning: 'unsigned int* sccKosarajuSharir::postOrd' [-Wreorder] uint *postOrd, n, act; ^~~~~~~ main.cpp:35:5: warning: when initialized here [-Wreorder] sccKosarajuSharir(): ^~~~~~~~~~~~~~~~~ main.cpp:12:11: warning: 'sccKosarajuSharir::nodeUsed' will be initialized after [-Wreorder] bool *nodeUsed; ^~~~~~~~ main.cpp:10:24: warning: 'std::vector<unsigned int>* sccKosarajuSharir::graph' [-Wreorder] std::vector<uint> *graph, *transposedGraph; ^~~~~ main.cpp:35:5: warning: when initialized here [-Wreorder] sccKosarajuSharir(): ^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:110:30: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'std::vector<std::vector<unsigned int> >::size_type {aka long unsigned int}' [-Wformat=] printf("%u\n", ans.size()); ^ main.cpp:113:32: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'std::vector<unsigned int>::size_type {aka long unsigned int}' [-Wformat=] printf("%u ", cc.size()); ^ main.cpp:98:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ctc.in","r",stdin); ^ main.cpp:99:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ctc.out","w",stdout); ^ main.cpp:100:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ main.cpp:105: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 Punctaj/grupa
12ms131kbComponenta tare conexa gresita412
22ms131kbComponente tare conexe: nod duplicat4
33ms131kbComponenta tare conexa gresita4
43ms262kbComponenta tare conexa gresita412
511ms393kbComponenta tare conexa gresita4
624ms1179kbComponenta tare conexa gresita4
742ms1966kbComponenta tare conexa gresita412
8120ms5496kbComponenta tare conexa gresita4
9231ms12374kbComponenta tare conexa gresita4
10295ms17793kbComponenta tare conexa gresita44
Punctaj total40

Ceva nu functioneaza?