Borderou de evaluare (job #3137870)
Utilizator | Data | 15 iunie 2023 18:20:43 | |
---|---|---|---|
Problema | UCL | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: stray '#' in program
1 | #include <fstream>
| ^
main.cpp:1:1: error: '\U0000feff' does not name a type
1 | #include <fstream>
|
main.cpp:6:1: error: 'ifstream' does not name a type
6 | ifstream cin("ucl.in");
| ^~~~~~~~
main.cpp:7:1: error: 'ofstream' does not name a type
7 | ofstream cout("ucl.out");
| ^~~~~~~~
main.cpp: In function 'void solve()':
main.cpp:14:9: error: 'cin' was not declared in this scope
14 | cin >> n;
| ^~~
main.cpp:33:17: error: 'cout' was not declared in this scope
33 | cout << "Invalid" << '\n';
| ^~~~
main.cpp:40:25: error: 'cout' was not declared in this scope
40 | cout << "Invalid" << '\n';
| ^~~~
main.cpp:46:25: error: 'cout' was not declared in this scope
46 | cout << "Invalid" << '\n';
| ^~~~
main.cpp:52:17: error: 'cout' was not declared in this scope
52 | cout << "Not unique" << '\n';
| ^~~~
main.cpp:53:14: error: 'cout' was not declared in this scope
53 | else cout << "Unique" << '\n';
| ^~~~
main.cpp: In function 'int main()':
main.cpp:59:9: error: 'cin' was not declared in this scope
59 | cin >> q;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !