Problem exam
User Scissors264
Submission Time 2023-02-24 16:56:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 | int main(){
| ~~~
exam.cpp: In function ‘int main()’:
exam.cpp:6:11: error: operands to ?: have different types ‘std::basic_ostream<char>’ and ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’}
6 | (a == 1) ? cout << "False": cin >> b >> c;
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~