Submission #2597067


Source Code Expand

Copy
import java.util.Scanner;

public class Main {
  
  public static void main(String[] args) {
    
    Scanner sc = new Scanner(System.in);
    
    int A = Integer.parseInt(sc.next());
    int B = Integer.parseInt(sc.next());
    
    System.out.println(B * (int) (A / B));
  }
}

Submission Info

Submission Time
Task A - 本選参加者数
User asuma
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 292 Byte
Status
Exec Time 102 ms
Memory 21332 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample-01.txt, sample-02.txt, sample-03.txt, sample-04.txt
All 100 / 100 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, sample-01.txt, sample-02.txt, sample-03.txt, sample-04.txt
Case Name Status Exec Time Memory
01.txt 102 ms 20308 KB
02.txt 89 ms 19028 KB
03.txt 88 ms 20680 KB
04.txt 89 ms 21076 KB
05.txt 90 ms 21332 KB
06.txt 90 ms 19284 KB
sample-01.txt 92 ms 19796 KB
sample-02.txt 91 ms 19028 KB
sample-03.txt 90 ms 20564 KB
sample-04.txt 89 ms 18644 KB