@@ -0,0 +1,14 @@
+#include<bits/stdc++.h>
+using namespace std;
+int main() {
+ int a, b;
+ cin >> a >> b;
+ if(a > b) {
+ cout << "a > b" << endl;
+ } else if(a < b) {
+ cout << "a < b" << endl;
+ } else {
+ cout << "a == b" << endl;
+ }
+ return 0;
+}
@@ -0,0 +1,8 @@
+ int a, b, c;
+ cin >> a >> b >> c;
+ cout << (a <= b && b <= c ? "Yes" : "No") << endl;
@@ -0,0 +1,24 @@
+ int x, y, z;
+ x = a;
+ if(b < x) {
+ x = b;
+ if(c < x) {
+ x = c;
+ z = a;
+ if(b > z) {
+ z = b;
+ if(c > z) {
+ z = c;
+ y = a + b + c - x - z;
+ cout << x << " " << y << " " << z;
@@ -0,0 +1,12 @@
+ int W, H, x, y, r;
+ cin >> W >> H >> x >> y >> r;
+ if(0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) {
+ cout << "Yes" << endl;
+ cout << "No" << endl;
+ int n;
+ cin >> n;
+ if(n % 2 == 1) {
+ n = (n + 1) / 2;
+ cout << n*n << endl;
+ n /= 2;
@@ -0,0 +1,22 @@
+ int t;
+ while(cin >> t) {
+ if(t < 0 || t > 100) {
+ cout << "Score is error!";
+ } else if(t >= 90) {
+ cout << "A";
+ } else if(t >= 80) {
+ cout << "B";
+ } else if(t >= 70) {
+ cout << "C";
+ } else if(t >= 60) {
+ cout << "D";
+ cout << "E";
+ cout << endl;
@@ -0,0 +1,9 @@
+ for(int n; cin >> n && n;) {
+ int a = n / 100, b = n / 10 % 10, c = n % 10;
+ cout << (n < 1000 && n >= 100 && n == a * a * a + b * b * b + c * c * c ? "Yes" : "No") << endl;