[BAEKJOON] 2742번 : 기찍 N 12345678910#include int main() { int a=0,i=0; scanf("%d", &a); for (i=a;a>0;a--) { printf("%d\n", a); }}cs Algorithm/BAEKJOON 2020.09.13
[BAEKJOON] 2741번 : N 찍기 12345678910#include int main() { int a=0,i=0; scanf("%d", &a); for (i=1;i Algorithm/BAEKJOON 2020.09.13
[BAEKJOON] 15552번 : 빠른 A+B 123456789101112#include int main() { int a = 0, b = 0,i = 0,y = 0; scanf("%d", &y); for (i=0;i Algorithm/BAEKJOON 2020.09.13
[BAEKJOON] 8393번 : 합 1234567891011#include int main() { int a=0,i=0,sum=0; scanf("%d", &a); for (i=0;i Algorithm/BAEKJOON 2020.09.13
[BAEKJOON] 10950번 : A+B - 3 1234567891011#include int main() { int a = 0, b = 0,i = 0,y = 0; scanf("%d", &y); for (i=0;i Algorithm/BAEKJOON 2020.09.13
[BAEKJOON] 2739번 : 구구단 123456789#include int main() { int a = 0,i = 0; scanf("%d", &a); for (i = 1; i Algorithm/BAEKJOON 2020.09.13
[BAEKJOON] 2884번 : 알람 시계 1234567891011121314#include int main() { int a = 0, b = 0; scanf("%d %d", &a, &b); a = (a + 24) * 60 + b - 45; b = a % 60; a /= 60; a %= 24; printf("%d %d",a,b);}Colored by Color Scriptercs Algorithm/BAEKJOON 2020.09.13
[BAEKJOON] 14681번 : 사분면 고르기 12345678910111213141516171819202122232425262728#include int main() { int a = 0, b = 0; scanf("%d", &a); scanf("%d", &b); if (a > 0) { if (b > 0) { printf("1"); } else { printf("4"); } } else { if (b > 0) { printf("2"); } else { printf("3"); } }}cs 카테고리 없음 2020.09.13
[BAEKJOON] 2753번 : 윤년 123456789101112131415161718#include int main() { int a = 0; scanf("%d",&a); if (a % 4 ==0) { if (a % 400 == 0) { printf("1"); return 0; } else if (a % 100 != 0) { printf("1"); return 0; } } printf("0");}cs 카테고리 없음 2020.09.13
[BAEKJOON] 9498번 : 시험 성적 1234567891011121314151617181920212223#include int main() { int a = 0; scanf("%d",&a); if (a >= 90) { printf("A"); } else if (a >= 80) { printf("B"); } else if (a >= 70) { printf("C"); } else if (a >= 60) { printf("D"); } else { printf("F"); }}cs Algorithm/BAEKJOON 2020.09.13