Borderou de evaluare (job #3309046)
| Utilizator | Data | 31 august 2025 15:04:46 | |
|---|---|---|---|
| Problema | ADN | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void imhashingit(std::string&, std::vector<int>&)':
main.cpp:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int i = 1; i < s.size(); i ++) {
| ~~^~~~~~~~~~
main.cpp: At global scope:
main.cpp:63:1: error: '::main' must return 'int'
63 | void main() {
| ^~~~
main.cpp: In function 'int main()':
main.cpp:155:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
155 | for(int j = overlap[orderans[i - 1]][orderans[i]]; j < s[orderans[i]].size(); j ++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
