Borderou de evaluare (job #791208)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezark (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 24 oct. 2024 19:46:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream in("cezar.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream out("cezar.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'in' was not declared in this scope; did you mean 'int'?
10 | in >> s;
| ^~
| int
main.cpp:11:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
11 | for(int i=0; i<strlen(s); i++)
| ~^~~~~~~~~~
main.cpp:17:5: error: 'out' was not declared in this scope
17 | out<<s;
| ^~~