Borderou de evaluare (job #618391)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezar (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 nov. 2021 10:01:21 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:2: error: invalid preprocessing directive #inlcude; did you mean #include?
2 | #inlcude <string>
| ^~~~~~~
| include
main.cpp:4:12: error: variable 'std::ifstream in' has initializer but incomplete type
4 | ifstream in("cezar.in");
| ^
main.cpp:5:13: error: variable 'std::ofstream out' has initializer but incomplete type
5 | ofstream out("cezar.out");
| ^
main.cpp: In function 'int main()':
main.cpp:14:34: error: 's1' was not declared in this scope; did you mean 's'?
14 | if (s[i] == 'z') s1[i]='a';
| ^~
| s
main.cpp:15:27: error: 's1' was not declared in this scope; did you mean 's'?
15 | else s[i]=s1[i]+1;
| ^~
| s