top of page

게시판 게시물

leoshchoi020319
2022년 8월 14일
In 소스 코드 제출
/* #include <stdio.h> int main() { int n, i, j; scanf("%d", &n); for(i = 1; i <= n; i++) { printf("*"); } printf("\n"); for(i = 2; i <= (n - 1) / 2; i++) { printf("*"); for(j = 2; j <= n - 1; j++) { if(j == i || j == n - i + 1) { printf("*"); } else if(j == (n - 1) / 2 +1) { printf("*"); } else { printf(" "); } } printf("*\n"); } for(i = 1; i <= n; i++) { printf("*"); } printf("\n"); for(i = (n - 1) / 2 + 2; i <= n - 1; i++) { printf("*"); for(j = 2; j <= n - 1; j++) { if(j == i || j == n - i + 1) { printf("*"); } else if(j == (n - 1) / 2 +1) { printf("*"); } else { printf(" "); } } printf("*\n"); } for(i = 1; i <= n; i++) { printf("*"); } return 0; } */ /* #include <stdio.h> int main() { int n, i, j; scanf("%d", &n); for(i = 1; i <= n; i++) { for(j = 1; j <= i; j ++) { printf("*"); } printf("\n"); } return 0; } */ /* #include <stdio.h> int main() { int n, i, j; scanf("%d", &n); for(i = 1; i <= n; i++) { for(j = 1; j <= n + 1 - i; j++) { printf("*"); } printf("\n"); } return 0; } */ /* #include <stdio.h> int main() { int n, i , j; scanf("%d", &n); for(i = n; i >= 1; i--) { for(j = 1; j <= n; j ++) { if(j >= n + 1 - i) { printf("*"); } else { printf(" "); } } printf("\n"); } return 0; } */ /* #include <stdio.h> int main() { int n, i, j; scanf("%d", &n); for(i = 1; i <= n; i++) { for(j = 1; j <= i; j ++) { printf("*"); } printf("\n"); } for(i = n + 1; i <= n * 2 - 1; i++) { for(j = 1; j <= n * 2 - i; j++) { printf("*"); } printf("\n"); } return 0; } */ /* #include <stdio.h> int main() { int n, i, j; scanf("%d", &n); for(i = 1; i <= (n + 1) / 2; i++) { for(j = 1; j <= n; j++) { if(j <= (n - (i * 2 - 1)) / 2 || j > (n - (i * 2 - 1)) / 2 + i * 2 - 1) { printf(" "); } else { printf("*"); } } printf("\n"); } return 0; } */ /* #include <stdio.h> int main() { int n, i, j; scanf("%d", &n); for(i = 1; i <= n; i++) { for(j = n - i; j >= 1; j--) { printf(" "); } for(j = 1; j <= n; j++) { printf("*"); } printf("\n"); } return 0; } */ /* #include <stdio.h> int main() { int n, k, i, j; scanf("%d %d", &n, &k); if(n == 1) { printf("*"); } else if(k == 1) { for(i = 1; i <= n; i++) { for(j = 1; j <= n; j++) { printf("*"); } printf("\n"); } } else { for(i = 1; i <= n; i++) { printf("*"); } printf("\n"); for(i = 2; i <= n - 1; i++) { printf("*"); for(j = 2; j <= n - 1; j++) { if((i + j - 1) % k == 0) { printf("*"); } else { printf(" "); } } printf("*\n"); } for(i = 1; i <= n; i++) { printf("*"); } } return 0; } */ /* #include <stdio.h> int main() { int n, sum, i, j; scanf("%d", &n); sum = 0; for(i = 1; i <= n; i++) { for(j = 1; j <= i; j++) { sum = sum + j; } } printf("%d", sum); return 0; } */ /* 일차원 배열 int* arr = (int*)malloc(sizeof(int)*n); #include <stdio.h> int main() { int a; int arr1[5] = {5, 4}; int arr[50]={}; //arr[0] ~ arr[49] //scanf("%d", &arr[50]); (x) float arr2[50] = {}; char str[50]; } */ /* #include <stdio.h> int main() { int n, i; scanf("%d", &n); int arr[999] = {}; for(i = 0; i < n; i++) { scanf("%d ", &arr[i]); } for(i = n - 1; i >= 0; i--) { printf("%d ", arr[i]); } return 0; } */ /* #include <stdio.h> int main() { int k, i; scanf("%d", &k); int arr[99] = {}; for(i = 0; i < k; i++) { scanf("%d", &arr[i]); } for(i = 0; i < k; i++) { printf("%d\n", arr[i]); } for(i = 0; i < k; i++) { printf("%d\n", arr[i]); } return 0; } */ /* #include <stdio.h> int main() { int n, i, j; scanf("%d", &n); int arr[999] = {}; for(i = 0; i < n; i++) { scanf("%d", &arr[i]); } for(i = 0; i < n; i++) { for(j = i % n; j < n; j++) { printf("%d ", arr[j]); } for(j = 0; j < i % n; j++) { printf("%d ", arr[j]); } printf("\n"); } return 0; } */ /* #include <stdio.h> int main() { int k, i; int arr[9] = {}; for(i = 0; i < 10; i++) { scanf("%d", &arr[i]); } scanf("%d", &k); printf("%d", arr[k - 1]); return 0; } */
0
0
1
leoshchoi020319
2022년 8월 13일
In 소스 코드 제출
/* #include <stdio.h> int main() { int i; for(i = 1; i <= 100; i++) { printf("%d ", i); } return 0; } */ /* #include <stdio.h> int main() { int n, i; scanf("%d", &n); for(i = 1; i <= n; i++) { printf("%d ", i); } return 0; } */ /* #include <stdio.h> int main() { int a, b, t, i; scanf("%d %d", &a, &b); if(a > b) { t = a; a = b; b = t; } for(i = a; i <= b; i++) { printf("%d ", i); } return 0; } */ /* #include <stdio.h> int main() { char a, b, i; scanf("%c %c", &a, &b); for(i = a; i <= b; i++) { printf("%c ", i); } return 0; } */ /* #include <stdio.h> int main() { double a, b, t, i; scanf("%lf %lf", &a, &b); if(a > b) { t = a; a = b; b = t; } for(i = a; i <= b; i+=0.01) { printf("%.2lf ", i); } return 0; } */ /* #include <stdio.h> int main() { int n, i; scanf("%d", &n); for(i = 0; i < n; i++) { printf("*"); } return 0; } */ /* #include <stdio.h> int main() { int a, b, i; scanf("%d %d", &a, &b); for(i = a; i <= b; i++) { if(i % 2 != 0) { printf("%d ", i); } } return 0; } */ /* #include <stdio.h> int main() { int n, sum, i; scanf("%d", &n); sum = 0; for(i = 1; i <= n; i++) { sum = sum + i; } printf("%d", sum); return 0; } */ /* #include <stdio.h> int main() { int n, sum, i; scanf("%d", &n); sum = 0; for(i = 1; i <= n; i++) { if(i % 2 == 0) { sum = sum + i; } } printf("%d", sum); return 0; } */ /* #include <stdio.h> int main() { int a, b, sum, i; scanf("%d %d", &a, &b); sum = 0; for(i = a; i <= b; i++) { if(i % 3 == 0) { sum = sum + i; } } printf("%d", sum); return 0; } */ /* #include <stdio.h> int main() { int n, sum, i, k; scanf("%d", &n); sum = 0; for(i = 0; i < n; i++) { scanf("%d", &k); sum = sum + k; } printf("%d", sum); return 0; } */ /* #include <stdio.h> int main() { int n, sum, i, k; scanf("%d", &n); sum = 0; for(i = 0; i < n; i++) { scanf("%d", &k); if(k % 5 ==0) { sum = sum + k; } } printf("%d", sum); return 0; } */ /* #include <stdio.h> int main() { int n, count, i, k; scanf("%d", &n); count = 0; for(i = 0; i < n; i++) { scanf("%d", &k); if(k % 2 == 0) { count = count + 1; } } printf("%d", count); return 0; } */ /* #include <stdio.h> int main() { int n, i; scanf("%d", &n); for(i = 1; i <= 9; i++) { printf("%d*%d=%d\n", n, i, n*i); } return 0; } */ /* #include <stdio.h> int main() { int a, b, c, n, i; scanf("%d %d %d %d", &a, &b, &c, &n); for(i = 1; i < n; i++) { a = a * b + c; } printf("%d", a); return 0; } */ /* #include <stdio.h> int main() { int n, count, i; scanf("%d", &n); count = 0; for(i = 1; i <= n; i++) { if(i % 10 == 1) { count = count + 1; } } printf("%d", count); return 0; } */ /* #include <stdio.h> int main() { int a, d, n, i; scanf("%d %d %d", &a, &d, &n); for(i = 1; i < n; i++) { a = a + d; } printf("%d", a); return 0; } */ /* #include <stdio.h> int main() { long long int a, r, n, i; scanf("%lld %lld %lld", &a, &r, &n); for(i = 1; i < n; i++) { a = a * r; } printf("%lld", a); return 0; } */ /* #include <stdio.h> int main() { long long int a, m, d, n, i; scanf("%lld %lld %lld %lld", &a, &m, &d, &n); for(i = 1; i < n; i++) { a = a * m + d; } printf("%lld", a); return 0; } */ /* #include <stdio.h> int main() { int a, b, result, i; result = 0; scanf("%d %d", &a, &b); for(i = a; i <= b; i++) { if(i % 2 == 0) { printf("-%d", i); result = result - i; } else { printf("+%d", i); result = result + i; } } printf("=%d", result); return 0; } */ /* #include <stdio.h> int main() { int a, b, result, i; scanf("%d %d", &a, &b); result = 0; for(i = a; i <= b - 1; i++) { if(i % 2 == 0) { printf("-%d+", i); result = result - i; } else { printf("%d", i); result = result + i; } } if(i % 2 == 0) { printf("-%d", i); result = result - i; } else { printf("%d", i); result = result + i; } printf("=%d", result); return 0; } */ /* #include <stdio.h> int main() { int n, t, k; scanf("%d", &n); for(t = 0; t * t <= n; t++) { k = n - t * t; } printf("%d %d", k, t - 1); return 0; } */ /* #include <stdio.h> int main() { int n; int i, j; scanf("%d", &n); for(i=0; i<n; i++) { for(j=0; j<=i; j++) { printf("*"); } printf("\n"); } } */ /* #include <stdio.h> int main() { int n, i, j; scanf("%d", &n); for(i = 0; i < n ; i++) { for(j = 0; j < n; j++) { printf("*"); } printf("\n"); } return 0; } */ /* #include <stdio.h> int main() { int n, i, j; scanf("%d", &n); for(i = 0; i < n; i++) { printf("*"); } printf("\n"); for(i = 0; i < n - 2; i++) { printf("*"); for(j = 0; j < n - 2; j++) { printf(" "); } printf("*\n"); } for(i = 0; i < n; i++) { printf("*"); } return 0; } */ /* #include <stdio.h> int main() { int n, i, j; scanf("%d", &n); for(i = 0; i < n; i++) { printf("*"); } printf("\n"); for(i = 0; i < n - 2 ; i++) { printf("*"); for(j = 0; j < n - 2; j++) { if(j == i || j == n - 3 - i) { printf("*"); } else { printf(" "); } } printf("*\n"); } for(i = 0; i < n; i++) { printf("*"); } return 0; } */
0
0
3
leoshchoi020319
2022년 8월 07일
In 소스 코드 제출
/* #include <stdio.h> int main() { int x, y, z; scanf("%d %d %d", &x, &y, &z); if((x >= y && x <= z) || (x >= z && x <= y)) { printf("%d", x); } else if((y >= x && y <= z) || (y >= z && y <= x)) { printf("%d", y); } else { printf("%d", z); } return 0; } */ /* #include <stdio.h> int main() { int birthdate, sex; scanf("%d %d", &b, &s); if(sex == 1 || sex == 2) { printf("%d", 2012 - (birthdate / 10000 + 1900) + 1); } else { printf("%d", 2012 - (birthdate / 10000 + 2000) + 1); } return 0; } */ /* #include <stdio.h> int main() { int age; scanf("%d", &age); if(age <= 13) { printf("%d 3", 12 - age + 1); } else { printf("%d 1", 112 - age + 1); } return 0; } */ /* #include <stdio.h> int main() { int g, c, n; scanf("%d %d %d", &g, &c, &n); printf("%d", g * 1000 + c * 100 + n); return 0; } */ /* #include <stdio.h> int main() { int g, c, n; scanf("%d %d %d", &g, &c,&n); printf("%d", g * 100000 + c * 1000 + n); return 0; } */ /* #include <stdio.h> int main() { int x, y, z, t; scanf("%d %d %d", &x, &y, &z); if(x > y) { t = x; x = y; y = t; } if(y > z) { t = y; y = z; z = t; } if(x > y) { t = x; x = y; y = t; } printf("%d %d %d", x, y, z); return 0; } */ /* #include <stdio.h> int main() { int hour, minute; scanf("%d %d", &hour, &minute); if(minute >= 30) { printf("%d %d", hour, minute - 30); } else { if(hour != 0) { printf("%d %d", hour - 1, minute - 30 + 60); } else { printf("%d %d", 23, minute - 30 + 60); } } return 0; } */ /* #include <stdio.h> int main() { int n, x, y; scanf("%d", &n); x = n / 10; y = n % 10; printf("%d\n", ((y * 10 + x) * 2) % 100); if(((y * 10 + x) * 2) % 100 <= 50) { printf("GOOD"); } else { printf("OH MY GOD"); } } */ /* #include <stdio.h> int main() { int x; scanf("%d", &x); if(x > 0) { printf("양수"); } else if(x < 0) { printf("음수"); } else { printf("0"); } return 0; } */ /* #include <stdio.h> int main() { int score; scanf("%d", &score); if(score >= 90) { printf("A"); } else if(score >= 80) { printf("B"); } else if(score >= 70) { printf("C"); } else if(score >= 60) { printf("D"); } else { printf("F"); } return 0; } */ /* #include <stdio.h> int main() { int BMI; scanf("%d", &BMI); if(BMI > 20) { printf("비만"); } else if(BMI > 10) { printf("과체중"); } else { printf("정상"); } return 0; } */ /* #include <stdio.h> int main() { int n, t, u; scanf("%d", &n); t = n / 10; u = n % 10; if(t == 1) { printf("%dth", n); } else { if(u == 1) { printf("%dst", n); } else if(u == 2) { printf("%dnd", n); } else if(u == 3) { printf("%drd", n); } else { printf("%dth", n); } } return 0; } */ /* #include <stdio.h> int main() { int x; scanf("%d", &x); switch(x) { case 1: printf("11111111111"); break; case 2: printf("22222"); case 3: printf("3333"); break; case 4: case 5: case 6: printf("456456"); break; default: printf("0000000"); } } */ /* #include <stdio.h> int main() { int a, b, c, d, n; scanf("%d %d %d %d", &a, &b, &c, &d); n = a + b + c + d; switch(n) { case 0: printf("모"); break; case 1: printf("도"); break; case 2: printf("개"); break; case 3: printf("걸"); break; case 4: printf("윷"); break; } return 0; } */ /* #include <stdio.h> int main() { int score, t; scanf("%d", &score); t = score / 10; switch(t) { case 10: case 9: printf("A"); break; case 8: printf("B"); break; case 7: printf("C"); break; case 6: printf("D"); break; default: printf("F"); } return 0; } */ /* #include <stdio.h> int main() { int a, b, c, t; scanf("%d %d %d", &a, &b, &c); if(a + b <= c) { printf("삼각형아님"); } else { if(a * a + b * b == c * c) { printf("직각삼각형"); } else if(a == b && b == c) { printf("정삼각형"); } else if(a != b && b!= c && c != a) { printf("삼각형"); } else { printf("이등변삼각형"); } } return 0; } */ /* #include <stdio.h> int main() { int a, b, c, t; scanf("%d %d %d", &a, &b, &c); if(a > b) { t = a; a = b; b = t; } if(b > c) { t = b; b = c; c = t; } if(a > b) { t = a; a = b; b = t; } if(c < a + b) { printf("yes"); } else { printf("no"); } return 0; } */ /* #include <stdio.h> int main() { int year, month; scanf("%d %d", &year, &month); switch(month) { case 4: case 6: case 9: case 11: printf("30"); break; case 2: if(year % 400 == 0 || (year % 4 == 0 && year % 100 != 0)) { printf("29"); } else { printf("28"); } break; default: printf("31"); } return 0; } */
0
0
3
leoshchoi020319
2022년 8월 06일
In 소스 코드 제출
/* #include <stdio.h> int main() { long long int x, y, z; scanf("%lld %lld %lld", &x, &y, &z); printf("%.2f", (float)(x + y + z)/3); return 0; } */ /* #include<stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); // A ? B : c; printf("%d", x > y ? x-y : y-x); } */ /* #include <stdio.h> int main() { long long int a, b; scanf("%lld %lld", &a, &b); printf("%lld", a > b ? a : b); return 0; } */ /* #include <stdio.h> int main() { long long int a, b, c; scanf("%lld %lld %lld", &a, &b, &c); printf("%lld", a > c && b > c ? c : a > b ? b : a); return 0; } */ /* #include <stdio.h> int main() { int x; scanf("%d", &x); printf("%d", ~x); return 0; } */ /* #include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d", x & y); return 0; } */ /* #include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d", x | y); return 0; } */ /* #include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d", x ^ y); return 0; } */ /* #include <stdio.h> int main() { int x; scanf("%d", &x); if(x > 50) { if() { } else { } } else if(x > 25) { } else { } } */ /* #include <stdio.h> int main() { int x; scanf("%d", &x); if(x < 10) { printf("small"); } return 0; } */ /* #include <stdio.h> int main() { int x; scanf("%d", &x); if(x < 10) { printf("small"); } else { printf("big"); } return 0; } */ /* #include <stdio.h> int main() { long long int a, b; scanf("%lld %lld", &a, &b); if(a > b) { printf(">"); } else if(b > a) { printf("<"); } else { printf("="); } return 0; } */ /* #include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); if(x >= y) { printf("%d", x - y); } else { printf("%d", y - x); } return 0; } */ /* #include <stdio.h> int main() { int n; scanf("%d", &n); if(n % 7 == 0) { printf("multiple"); } else { printf("not multiple"); } return 0; } */ /* #include <stdio.h> int main() { int n; scanf("%d", &n); if(n % 2 == 0) { printf("even"); } else { printf("odd"); } return 0; } */ /* #include <stdio.h> int main() { float d; scanf("%f", &d); if(d >= 50 && d <= 60) { printf("win"); } else { printf("lose"); } return 0; } */ /* #include <stdio.h> int main() { int n; scanf("%d", &n); if(n >= 30 && n <= 40) { printf("win"); } else if(n >= 60 && n <= 70) { printf("win"); } else { printf("lose"); } return 0; } */ /* #include <stdio.h> int main() { int d; scanf("%d", &d); if(d >= 50 && d <= 70) { printf("win"); } else if(d % 6 == 0) { printf("win"); } else { printf("lose"); } return 0; } */ /* #include <stdio.h> int main() { int x; scanf("%d", &x); if(x == 1 || x == 3 || x == 5 || x == 7) { printf("oh my god"); } else { printf("enjoy"); } return 0; } */ /* #include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); if(x % 2 == 0) { if(y % 2 == 0) { printf("짝수+짝수=짝수"); } else { printf("짝수+홀수=홀수"); } } else { if(y % 2 == 0) { printf("홀수+짝수=홀수"); } else { printf("홀수+홀수=짝수"); } } return 0; } */ /*#include <stdio.h> int main() { int y, m, d; scanf("%d %d %d", &y, &m, &d); if((y - m + d) % 10 == 0) { printf("대박"); } else { printf("그럭저럭"); } return 0; } */ /* #include <stdio.h> int main() { int y, m, d; scanf("%d %d %d", &y, &m, &d); if(((y + m + d) / 100) % 2 == 0) { printf("대박"); } else { printf("그럭저럭"); } return 0; } */ /* #include <stdio.h> int main() { int t1, t2,t3; scanf("%d %d %d", &t1, &t2, &t3); if(t1 > 170 && t2 > 170 && t3 > 170) { printf("PASS"); } else { printf("CRASH"); } return 0; } */ /* #include <stdio.h> int main() { int t, s; scanf("%d %d", &t, &s); printf("%d", (89 - t) / 5 + s + 1); return 0; } */ /* #include <stdio.h> int main() { int n; scanf("%d", &n); if(n % 400 == 0) { printf("Leap"); } else if(n % 4 == 0 && n % 100 != 0) { printf("Leap"); } else { printf("Normal"); } return 0; } */
0
0
4
leoshchoi020319
2022년 8월 02일
In 소스 코드 제출
/* #include <stdio.h> int main() { printf("Hello"); return 0; } */ /* #include <stdio.h> int main() { printf("Hello World"); return 0; } */ /* #include <stdio.h> int main() { printf("Hello\nWorld"); return 0; } */ /* #include <stdio.h> int main() { printf("\'Hello\'"); return 0; } */ /* #include <stdio.h> int main() { printf("\"Hello World\""); return 0; } */ /* #include <stdio.h> int main() { printf("\"!@#$%%^&*()\""); return 0; } */ /* #include <stdio.h> int main() { printf("\"C:\\Download\\hello.cpp\""); return 0; } */ /* 정수 int %d(decimal) long long int %lld 실수 float %f double %lf 문자 char %c */ /* #include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d", x+y); return 0; } */ /* #include <stdio.h> int main() { int n; scanf("%d", &n); printf("%d", n); return 0; } */ /* #include <stdio.h> int main() { char x; scanf("%c", &x); printf("%c", x); return 0; } */ /* #include <stdio.h> int main() { float x; scanf("%f", &x); printf("%f", x); return 0; } */ /* #include <stdio.h> int main() { int m, n; scanf("%d %d", &m, &n); printf("%d %d", m, n); return 0; } */ /* #include <stdio.h> int main() { char x, y; scanf("%c %c", &x, &y); printf("%c %c", y, x); return 0; } */ /* #include <stdio.h> int main() { float x; scanf("%f", &x); printf("%.2f", x); return 0; } */ /* #include <stdio.h> int main() { int n; scanf("%d", &n); printf("%d %d %d", n, n, n); return 0; } */ /* #include <stdio.h> int main() { int h, m; scanf("%d:%d", &h, &m); printf("%d:%d", h, m); return 0; } */ /* #include <stdio.h> int main() { int y, m, d; scanf("%d.%d.%d", &y, &m, &d); printf("%04d.%02d.%02d", y, m, d); return 0; } */ /* #include <stdio.h> int main() { int x, y; scanf("%d-%d", &x, &y); printf("%06d%07d", x, y); return 0; } */ /* #include<stdio.h> int main() { int x = 12345; double y = 123.1234; printf("%10d||\n", x); printf("%010d||\n", x); printf("%-10d||\n", x); printf("%.2lf\n", y); printf("%10.2lf\n", y); printf("%010.2lf\n", y); printf("%-10.2lf\n", y); } /* #include<stdio.h> int main() { int x, y; // overflow: // int: 4byte: 32 bits // -2147483648 ~ +2147483647 scanf("%d %d", &x, &y); //printf("%lf", (double)x/y); printf("%d", x%y); } */ /* #include <stdio.h> int main() { long long int m, n; scanf("%lld %lld", &m, &n); printf("%lld", m + n); return 0; } */ /* #include <stdio.h> int main() { long long int m, n; scanf("%lld %lld", &m, &n); printf("%lld", m + n); return 0; } */ /* #include <stdio.h> int main () { int n; scanf("%d", &n); printf("%d", -n); return 0; } */ /* #include <stdio.h> int main() { char a; scanf("%c", &a); printf("%c", a + 1); return 0; } */ /* #include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d", a / b); return 0; } */ /* #include <stdio.h> int main() { long long int n; scanf("%lld", &n); printf("%lld", n + 1); return 0; } */ /* #include <stdio.h> int main() { long long int a, b; scanf("%lld %lld", &a, &b); printf("%lld\n%lld\n%lld\n%lld\n%lld\n%.2f", a + b, a - b, a * b, a / b, a % b, (float)a / b); return 0; } */ /* #include <stdio.h> int main() { long long int l, m, n; scanf("%lld %lld %lld", &l, &m, &n); printf("%lld\n%.1f", l + m + n, (float)(l + m + n) / 3); return 0; } */ #include<stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d", x>y); // > >= < <= != == return 0; } */ /* #include<stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d", x&&y); // and // || or: // ! not: } */ /* #include <stdio.h> int main() { int a, b; scanf("%d %d", &a , &b); printf("%d", a > b); return 0; } */ /* #include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d", a == b); return 0; } */ /* #include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d", b >= a); return 0; } */ /* #include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d", a != b); return 0; } */ /* #include <stdio.h> int main() { int x; scanf("%d", &x); printf("%d", !x); return 0; } */ /* #include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d", x && y); return 0; } */ /* #include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d", x || y); return 0; } */ /* #include <stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); printf("%d", (x&&!y)||(!x&&y)); return 0; } */
0
0
8

leoshchoi020319

더보기
bottom of page