Borderou de evaluare (job #688144)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Centru Prim (clasa a 5-a) | Compilator | cpp-32 |
Rundă | lasm_18_01_2023_cl10 | Status | evaluat |
Dată | 18 ian. 2023 16:27:59 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:4:9: error: 'freeopen' was not declared in this scope; did you mean 'freopen'?
4 | freeopen("centruprim.in", "r", stdin);
| ^~~~~~~~
| freopen
main.cpp:8:29: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'char' in initialization
8 | char str = to_string(n);
| ~~~~~~~~~^~~
| |
| std::string {aka std::__cxx11::basic_string<char>}