백준 #24309번 РАВЕНСТВО

jhj·2024년 2월 2일

백준 JAVA

목록 보기
94/583
import java.util.Scanner;
import java.math.BigInteger;
public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		BigInteger a = sc.nextBigInteger();
		BigInteger b = sc.nextBigInteger();
		BigInteger c = sc.nextBigInteger();
		
		System.out.println(b.subtract(c).divide(a));
		sc.close();
	}
}
profile
개발자를 꿈꾸는

0개의 댓글