Borderou de evaluare (job #2420738)

Utilizator MoldooooooooMoldoveanu Stefan Moldoooooooo Data 13 mai 2019 10:40:52
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:49:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(!V.empty()) V.pop_back(); int L=0; ^~~~~ main.cpp:49: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
23ms131kbNu sunt destule noduri in circuit0
33ms131kbNu e drum maxim0
42ms131kbNu e drum maxim0
53ms131kbNu e drum maxim0
63ms131kbNu e drum maxim0
73ms131kbNu sunt destule noduri in circuit0
83ms131kbNu e drum maxim0
93ms131kbNu e drum maxim0
104ms131kbNu e drum maxim0
114ms131kbNu e drum maxim0
125ms131kbNu e drum maxim0
134ms131kbNu e drum maxim0
144ms131kbNu sunt destule noduri in circuit0
154ms131kbNu e drum maxim0
166ms131kbNu e drum maxim0
175ms131kbNu e drum maxim0
187ms131kbNu e drum maxim0
196ms131kbNu e drum maxim0
207ms221kbNu e drum maxim0
Punctaj total5

Ceva nu functioneaza?