Submission #26499952
Source Code Expand
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// 入力値の取得
int N = sc.nextInt();
sc.close();
// 結果の出力
System.out.println(String.format("%04d", N));
}
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Four Digits |
| User | terajun |
| Language | Java (OpenJDK 11.0.6) |
| Score | 100 |
| Code Size | 282 Byte |
| Status | AC |
| Exec Time | 120 ms |
| Memory | 35688 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, sample_03.txt |
| All | hand_01.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, sample_01.txt, sample_02.txt, sample_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| hand_01.txt | AC | 120 ms | 35688 KiB |
| random_01.txt | AC | 106 ms | 35596 KiB |
| random_02.txt | AC | 108 ms | 35540 KiB |
| random_03.txt | AC | 109 ms | 35576 KiB |
| random_04.txt | AC | 111 ms | 35592 KiB |
| random_05.txt | AC | 106 ms | 35620 KiB |
| random_06.txt | AC | 100 ms | 35648 KiB |
| sample_01.txt | AC | 107 ms | 35672 KiB |
| sample_02.txt | AC | 104 ms | 35632 KiB |
| sample_03.txt | AC | 107 ms | 35516 KiB |