Playground/자바문제집

[백준] 3733번

미숫가루설탕많이 2023. 1. 24. 18:59
import java.util.*;
import java.io.*;
import java.math.*;

public class Main {
   public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);

      int N, S;
      while (sc.hasNext()) {
         N = sc.nextInt();
         S = sc.nextInt();
         System.out.println(S / (N + 1));
      }
   }
}