Borderou de evaluare (job #618337)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezar (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 nov. 2021 22:02:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:1: error: 'in' does not name a type; did you mean 'int'?
6 | in.open("cezar.in");
| ^~
| int
main.cpp:7:1: error: 'out' does not name a type
7 | out.open("cezar.out");
| ^~~
main.cpp: In function 'int main()':
main.cpp:12:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
12 | for (int i = 0; i <= word.length() - 1; i++)
| ~~^~~~~~~~~~~~~~~~~~~~