Borderou de evaluare (job #3353100)

Utilizator ungureanubogdanUngureanu Bogdan ungureanubogdan Data 4 mai 2026 19:04:01
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:1: error: 'vector' does not name a type 9 | vector<long long> h[2001]; | ^~~~~~ main.cpp: In function 'bool check(int)': main.cpp:15:13: error: 'h' was not declared in this scope 15 | if(x >= h[idx[1]].size()) return 0; | ^ main.cpp:17:17: error: 'h' was not declared in this scope 17 | if(x >= h[idx[i]].size() || h[idx[1]][x] != h[idx[i]][x]) return 0; | ^ main.cpp: In function 'int main()': main.cpp:46:9: error: 'h' was not declared in this scope 46 | h[i].resize(s.size()); | ^ main.cpp:48:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | for(int j = 1; j < s.size(); ++j) { | ~~^~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?