Borderou de evaluare (job #712519)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Antiterra (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 mar. 2023 08:23:41 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:13: error: invalid operands of types '<unresolved overloaded function type>' and 'char' to binary 'operator>>'
12 | cin.get >> c1;
| ~~~~~~~ ^~ ~~
| | |
| | char
| <unresolved overloaded function type>
main.cpp:14:17: error: invalid operands of types '<unresolved overloaded function type>' and 'char' to binary 'operator>>'
14 | cin.get >> c2;
| ~~~~~~~ ^~ ~~
| | |
| | char
| <unresolved overloaded function type>
main.cpp:23:17: error: invalid operands of types '<unresolved overloaded function type>' and 'char' to binary 'operator>>'
23 | cin.get >> c1;
| ~~~~~~~ ^~ ~~
| | |
| | char
| <unresolved overloaded function type>
main.cpp:25:21: error: invalid operands of types '<unresolved overloaded function type>' and 'char' to binary 'operator>>'
25 | cin.get >> c2;
| ~~~~~~~ ^~ ~~
| | |
| | char
| <unresolved overloaded function type>