Problem | minimum |
---|---|
User | C2meang7 |
Submission Time | 2024-07-12 12:22:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:2:6: error: ‘cin’ in namespace ‘std’ does not name a type
2 | std::cin >> a >> b;
| ^~~
minimum.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int a, b;
minimum.cpp:3:1: error: expected unqualified-id before ‘if’
3 | if (a > b) {
| ^~
minimum.cpp:5:3: error: expected unqualified-id before ‘else’
5 | } else if (a == b) {
| ^~~~
minimum.cpp:7:3: error: expected unqualified-id before ‘else’
7 | } else {
| ^~~~