Submission #20409505
Source Code Expand
import java.util.Scanner;
public class Main {
public static void main(String... args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int next = x % 100;
System.out.println(next == 0 ? 100 : 100 - next);
sc.close();
}
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Star |
| User | k_yamasaki |
| Language | Java (OpenJDK 11.0.6) |
| Score | 100 |
| Code Size | 297 Byte |
| Status | AC |
| Exec Time | 144 ms |
| Memory | 35552 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt |
| All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt, random_15.txt, random_16.txt, random_21.txt, random_22.txt, random_23.txt, random_24.txt, sample_01.txt, sample_02.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| random_01.txt | AC | 125 ms | 35552 KiB |
| random_02.txt | AC | 107 ms | 35228 KiB |
| random_03.txt | AC | 103 ms | 35268 KiB |
| random_04.txt | AC | 100 ms | 35520 KiB |
| random_05.txt | AC | 104 ms | 35436 KiB |
| random_11.txt | AC | 109 ms | 35412 KiB |
| random_12.txt | AC | 107 ms | 35428 KiB |
| random_13.txt | AC | 106 ms | 35356 KiB |
| random_14.txt | AC | 105 ms | 35500 KiB |
| random_15.txt | AC | 105 ms | 35504 KiB |
| random_16.txt | AC | 107 ms | 35508 KiB |
| random_21.txt | AC | 102 ms | 35400 KiB |
| random_22.txt | AC | 111 ms | 35464 KiB |
| random_23.txt | AC | 144 ms | 35436 KiB |
| random_24.txt | AC | 100 ms | 35328 KiB |
| sample_01.txt | AC | 106 ms | 35388 KiB |
| sample_02.txt | AC | 104 ms | 35348 KiB |