Borderou de evaluare (job #3168392)
Utilizator | Data | 12 noiembrie 2023 12:49:21 | |
---|---|---|---|
Problema | Mins | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'string' does not name a type; did you mean 'stdin'?
5 | string name="mins";
| ^~~~~~
| stdin
main.cpp:6:1: error: 'ifstream' does not name a type
6 | ifstream in(name+".in");
| ^~~~~~~~
main.cpp:7:1: error: 'ofstream' does not name a type
7 | ofstream out(name+".out");
| ^~~~~~~~
main.cpp: In function 'int32_t main()':
main.cpp:8:13: error: 'in' was not declared in this scope; did you mean 'n'?
8 | #define cin in
| ^~
main.cpp:24:5: note: in expansion of macro 'cin'
24 | cin>>n>>m;
| ^~~
main.cpp:9:14: error: 'out' was not declared in this scope; did you mean 'cout'?
9 | #define cout out
| ^~~
main.cpp:46:5: note: in expansion of macro 'cout'
46 | cout<<ans<<'\n';
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !