[백준 알고리즘 ] 8393번 (java)
언어, 알고리즘 공부/백준2019. 4. 21. 16:50[백준 알고리즘 ] 8393번 (java)

합 구하기 1 2 3 4 5 6 7 8 9 10 11 12 13 import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n= sc.nextInt(); int sum=0; for(int i=1;i

[백준 알고리즘] 2441번 (java)
언어, 알고리즘 공부/백준2019. 4. 21. 11:49[백준 알고리즘] 2441번 (java)

별찍기 - 4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int temp=0; for(int m=0;m

[백준 알고리즘] 2440번 (java)
언어, 알고리즘 공부/백준2019. 4. 20. 19:16[백준 알고리즘] 2440번 (java)

별찍기 -3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int temp=0; for(int m=0;m0;i--) System.out.print("*"); temp++; System.out.println(); } } } http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5; text-decoration:none">Colored by Color Scri..

[백준 알고리즘] 2438번 별찍기 - 1 (java, python)
언어, 알고리즘 공부/백준2019. 4. 20. 18:48[백준 알고리즘] 2438번 별찍기 - 1 (java, python)

별찍기 - 1 JAVA import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n= sc.nextInt(); for(int i=1;i

[백준 알고리즘] 2739번 구구단(java, Python3)
언어, 알고리즘 공부/백준2019. 4. 20. 18:39[백준 알고리즘] 2739번 구구단(java, Python3)

구구단 import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for(int i=1;i

[백준 알고리즘] 2741번 (java)
언어, 알고리즘 공부/백준2019. 4. 20. 15:13[백준 알고리즘] 2741번 (java)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if(n

[백준 알고리즘] 2558번 (java)
언어, 알고리즘 공부/백준2018. 9. 19. 17:38[백준 알고리즘] 2558번 (java)

1234567891011import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a+b); }}Colored by Color Scriptercs 12345#include int main(void){ printf("Hello World!"); return 0;}cs 링크▼https://www.acmicpc.net/problem/2558

[백준 알고리즘] 10430번 (java)
언어, 알고리즘 공부/백준2018. 9. 19. 17:21[백준 알고리즘] 10430번 (java)

1234567891011121314151617import java.util.Scanner; ​public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); System.out.println((a+b)%c); System.out.println((a%c + b%c)%c); System.out.println((a*b)%c); System.out.println((a%c * b%c)%c); }} Colored by Color Scriptercs 링크▼https://www.acmicpc.ne..

[백준 알고리즘] 10869번 (java)
언어, 알고리즘 공부/백준2018. 9. 19. 17:16[백준 알고리즘] 10869번 (java)

123456789101112131415import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a+b); System.out.println(a-b); System.out.println(a*b); System.out.println(a/b); System.out.println(a%b); }}Colored by Color Scriptercs 링크▼https://www.acmicpc.net/problem/10869

[백준 알고리즘] 1008번 (java)
언어, 알고리즘 공부/백준2018. 9. 19. 17:13[백준 알고리즘] 1008번 (java)

123456789101112131415import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int ia = sc.nextInt(); int ib = sc.nextInt(); double da = (double)ia; double db = (double)ib; System.out.println(da/db); }}Colored by Color Scriptercs

image