Borderou de evaluare (job #3310290)
| Utilizator | Data | 12 septembrie 2025 17:12:49 | |
|---|---|---|---|
| Problema | Granițe | Status | done |
| Runda | arhiva-vianu | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:11:1: error: 'vector' does not name a type
11 | vector<int> z;
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:16:5: error: 'z' was not declared in this scope
16 | z.resize(s.size());
| ^
main.cpp:19:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i = 1; i < s.size(); i ++) {
| ~~^~~~~~~~~~
main.cpp:34:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int i = len; i <= s.size() - len * 2; i ++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
