https://www.acmicpc.net/problem/10430 10430๋ฒ: ๋๋จธ์ง ์ฒซ์งธ ์ค์ A, B, C๊ฐ ์์๋๋ก ์ฃผ์ด์ง๋ค. (2 ≤ A, B, C ≤ 10000) www.acmicpc.net import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int A = in.nextInt(); int B = in.nextInt(); int C = in.nextInt(); System.out.println((A+B)%C); System.out.println(((A%C)+(B%C))%C); System.out.println((A*B)%C);..
ALGORITHM ๐ค/Baekjoon
๋ฐฑ์คhttps://www.acmicpc.net/step/1 ์
์ถ๋ ฅ๊ณผ ์ฌ์น์ฐ์ฐ ๋จ๊ณ ์
์ถ๋ ฅ๊ณผ ์ฌ์น์ฐ์ฐ www.acmicpc.net 10926 ??! import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String A = in.next(); System.out.println(A + "??!"); in.close(); } } 18108 1988๋
์์ธ ๋ด๊ฐ ํ๊ตญ์์๋ 2541๋
์?! import java.util.Scanner; public class Main { public static void main(String[] args) { Scanne..
https://www.acmicpc.net/step/1 ์
์ถ๋ ฅ๊ณผ ์ฌ์น์ฐ์ฐ ๋จ๊ณ ์
์ถ๋ ฅ๊ณผ ์ฌ์น์ฐ์ฐ www.acmicpc.net 1000 A+B import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int A = in.nextInt(); int B = in.nextInt(); System.out.println(A+B); in.close(); } } 1001 A-B import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = n..