Borderou de evaluare (job #2848994)

Utilizator smoc_georgemarianSmoc George-Marian smoc_georgemarian Data 14 februarie 2022 12:47:52
Problema 2SAT Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool checkIfPossible(std::vector<int>&, int)': main.cpp:78:13: warning: unused variable 'cnode_i' [-Wunused-variable] 78 | int cnode_i = contracted_node[i]; | ^~~~~~~ main.cpp:79:13: warning: unused variable 'cnode_n' [-Wunused-variable] 79 | int cnode_n = contracted_node[i + n]; | ^~~~~~~ main.cpp: In function 'void computeAssignment(std::vector<std::vector<int> >&, std::vector<int>&, int, std::vector<int>&, std::vector<std::vector<int> >&, std::vector<int>&)': main.cpp:96:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 96 | for (int i = 0; i < comps.size(); i++) | ~~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:148:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] 148 | scanf("%d%d", x, y); | ~^ ~ | | | | int* int main.cpp:148:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] 148 | scanf("%d%d", x, y); | ~^ ~ | | | | int* int main.cpp:148:14: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 148 | scanf("%d%d", x, y); | ~~~~~^~~~~~~~~~~~~~ main.cpp:148:14: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbKilled by Signal 1100
22ms184kbKilled by Signal 110
32ms184kbKilled by Signal 1100
42ms184kbKilled by Signal 110
52ms184kbKilled by Signal 1100
62ms184kbKilled by Signal 110
72ms184kbKilled by Signal 1100
82ms184kbKilled by Signal 110
92ms184kbKilled by Signal 1100
102ms184kbKilled by Signal 110
112ms262kbKilled by Signal 1100
122ms184kbKilled by Signal 110
132ms184kbKilled by Signal 1100
142ms184kbKilled by Signal 110
1513ms6414kbKilled by Signal 1100
1611ms5189kbKilled by Signal 110
1715ms10375kbKilled by Signal 110
1815ms10297kbKilled by Signal 110
1915ms10391kbKilled by Signal 110
2015ms10354kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?