@@ -0,0 +1,12 @@
+#include<bits/stdc++.h>
+using namespace std;
+int main() {
+ int n;
+ cin >> n;
+ if(n & 1) {
+ cout << "no";
+ } else {
+ cout << "yes";
+ }
+ return 0;
+}
+ double s = n * 95;
+ if(s >= 300) {
+ s *= 0.85;
+ cout << fixed << setprecision(2) << s;
@@ -0,0 +1,14 @@
+ int a, b, c;
+ cin >> a >> b >> c;
+ if(a + c <= b || a + b <= c || c + b <= a) {
+ cout << "not a triangle" << endl;
+ } else if(a * a + c * c == b * b || a * a + b * b == c * c || b * b + c * c == a * a) {
+ cout << "yes" << endl;
+ cout << "no" << endl;
@@ -0,0 +1,11 @@
+ int y;
+ cin >> y;
+ if(y % 4 == 0 && y % 100 != 0 || y % 400 == 0)
+ { cout << "yes"; }
+ else
+ { cout << "no"; }
@@ -0,0 +1,17 @@
+ int y, m, d;
+ cin >> y >> m;
+ if(m == 1 || m == 3 || m == 5 || m == 7 || m == 8 || m == 10 || m == 12) {
+ d = 31;
+ } else if(m == 4 || m == 6 || m == 9 || m == 11) {
+ d = 30;
+ } else if(y % 4 == 0 && y % 100 != 0 || y % 400 == 0) {
+ d = 29;
+ d = 28;
+ cout << d;
@@ -0,0 +1,8 @@
+ int x;
+ cin >> x;
+ cout << (x > 0 ? 1 : (x < 0 ? -1 : 0)) << endl;
+ double n;
+ if(n < 1) {
+ cout << "y=" << fixed << setprecision(2) << n << endl;
+ } else if(n >= 1 && n < 10) {
+ cout << "y=" << fixed << setprecision(2) << 2 * n - 1 << endl;
+ cout << "y=" << fixed << setprecision(2) << 3 * n - 11 << endl;
+ cout << max(max(a, b), c);
@@ -0,0 +1,23 @@
+ int a, b, c, d;
+ cin >> a >> b >> c >> d;
+ if(b > a) {
+ swap(a, b);
+ if(c > b) {
+ swap(b, c);
+ if(d > c) {
+ swap(d, c);
+ swap(c, b);
+ cout << d << " " << c << " " << b << " " << a << endl;