Borderou de evaluare (job #3121841)

Utilizator bent_larsenSturzu Antonio-Gabriel bent_larsen Data 15 aprilie 2023 17:08:46
Problema Sase49 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'std::vector<int> solve(std::vector<int>&)': main.cpp:11:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 11 | for(int j = 0;j < v.size() && cnt < 6;++j) | ~~^~~~~~~~~~ main.cpp:23:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 23 | for(int i = 0;i < v.size() && cnt < 6;++i) | ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:41:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 41 | for(int i = 1;i < ret.size();++i) | ~~^~~~~~~~~~~~ main.cpp: In function 'std::vector<int> solve(std::vector<int>&)': main.cpp:24:25: warning: 'gc' may be used uninitialized [-Wmaybe-uninitialized] 24 | if(v[i] % gc == 0) main.cpp:7:13: note: 'gc' was declared here 7 | int gc; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK100
Punctaj total100

Ceva nu functioneaza?