Borderou de evaluare (job #2420730)

Utilizator MoldooooooooMoldoveanu Stefan Moldoooooooo Data 13 mai 2019 10:33:40
Problema Plimbare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:28:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<Sol.size(); ++i) Check[Sol[i]]=true; ~^~~~~~~~~~~ main.cpp:30:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", Sol.size()); while(!S.empty())S.pop(); ^ main.cpp: In function 'void DFS(int)': main.cpp:48:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(!V.empty()) V.pop_back(); int L=0; ^~~~~ main.cpp:48:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' while(!V.empty()) V.pop_back(); int L=0; ^~~ main.cpp: In function 'int main()': main.cpp:16:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("plimbare.in", "r", stdin); ^ main.cpp:17:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("plimbare.out", "w", stdout); ^ main.cpp:18:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ main.cpp:22:30: 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
13ms131kbOK!5
22ms131kbNu sunt destule noduri in circuit0
33ms131kbNu e drum maxim0
42ms131kbNu e drum maxim0
52ms131kbNu e drum maxim0
62ms131kbNu e drum maxim0
74ms131kbNu sunt destule noduri in circuit0
83ms131kbNu e drum maxim0
94ms131kbNu e drum maxim0
103ms131kbNu e drum maxim0
113ms131kbNu e drum maxim0
125ms131kbNu e drum maxim0
133ms131kbNu e drum maxim0
145ms196kbNu sunt destule noduri in circuit0
154ms131kbNu e drum maxim0
165ms131kbNu e drum maxim0
177ms131kbNu e drum maxim0
185ms131kbNu e drum maxim0
194ms131kbNu e drum maxim0
207ms131kbNu e drum maxim0
Punctaj total5

Ceva nu functioneaza?