Borderou de evaluare (job #2846526)
Utilizator | Data | 9 februarie 2022 12:06:59 | |
---|---|---|---|
Problema | String Repair | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'string' does not name a type; did you mean 'stdin'?
2 | string x,y;
| ^~~~~~
| stdin
main.cpp: In function 'int main()':
main.cpp:6:33: error: 'x' was not declared in this scope
6 | for(std::ifstream("sr.in")>>x>>y;x[i];++i)
| ^
main.cpp:6:36: error: 'y' was not declared in this scope
6 | for(std::ifstream("sr.in")>>x>>y;x[i];++i)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !