Problem | exam |
---|---|
User | Subz3r0 |
Submission Time | 2023-03-10 15:15:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:3:7: error: ‘cin’ is not a member of ‘std’
3 | std::cin >> a;
| ^~~
exam.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main() {
exam.cpp:4:12: error: expected ‘)’ before ‘]’ token
4 | if (a == 1]){
| ~ ^
| )
exam.cpp:4:12: error: expected primary-expression before ‘]’ token
exam.cpp:9:8: error: ‘cin’ is not a member of ‘std’
9 | std::cin >> b >> c;
| ^~~
exam.cpp:9:8: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
exam.cpp:10:6: error: expected primary-expression before user-defined string literal
10 | std""cout << b * c;
| ^~~~~~