6 solutions
-
3
#include <iostream> #include <iomanip> using namespace std; int main() { int x, y; cin >> x >> y; if(x > y) cout << '>' << endl; else if(x < y) cout << '<' << endl; else if(x == y) cout << '=' << endl; // cout << fixed << setprecision(3) << x * 100 << "%" << endl; // return 0; }
-
2
#include <iostream> #include <iomanip> using namespace std; int main() { int x, y; cin >> x >> y; if(x > y) cout << '>' << endl; else if(x < y) cout << '<' << endl; else if(x == y) cout << '=' << endl; // cout << fixed << setprecision(3) << x * 100 << "%" << endl; // return 0; }
-
-2
``` #include <iostream> #include <stdio.h> #include <iomanip> #include <math.h> using namespace std; const int N = 1e6 + 10; const int INF = 0x3f3f3f3f; int main() { int x , y; cin >> x >> y; if( x > y ) { cout << ">"; } else if( x == y ) { cout << "="; } else { cout << "<"; } return 0; }
``` ```
- 1
Information
- ID
- 530
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 2
- Tags
- # Submissions
- 65
- Accepted
- 42
- Uploaded By