Borderou de evaluare (job #2179947)
Utilizator | Data | 20 martie 2018 15:42:36 | |
---|---|---|---|
Problema | Text3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:6: error: ‘i’ was not declared in this scope
for(i=n-1;i>=0;i--){
^
user.cpp:25:3: error: ‘p’ was not declared in this scope
p=i;c[i]=1;
^
user.cpp:26:7: error: ‘j’ was not declared in this scope
for(j=i+1;j<n;j++){
^
user.cpp:37:6: error: ‘i’ was not declared in this scope
for(i=0;i<l;i++){
^
user.cpp:38:12: error: no match for ‘operator[]’ (operand types are ‘std::__cxx11::string [20000] {aka std::__cxx11::basic_string<char> [20000]}’ and ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’)
fout << s[x] << "\n";
^
user.cpp:39:6: error: no match for ‘operator[]’ (operand types are ‘int [20000]’ and ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’)
x=d[x];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !