Submission #61542520
Source Code Expand
Copy
import java.util.Scanner;public class Main {public static void main(String[] args) {Scanner in = new Scanner(System.in);String S = in.nextLine();char firstChar = S.charAt(0);String result = firstChar + "UPC";System.out.println(result);}}
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String S = in.nextLine(); char firstChar = S.charAt(0); String result = firstChar + "UPC"; System.out.println(result); } }
Submission Info
Submission Time | |
---|---|
Task | A - ?UPC |
User | pitch_black |
Language | Java (OpenJDK 17) |
Score | 100 |
Code Size | 317 Byte |
Status | AC |
Exec Time | 86 ms |
Memory | 38680 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample00.txt, sample01.txt |
All | sample00.txt, sample01.txt, testcase00.txt, testcase01.txt, testcase02.txt, testcase03.txt, testcase04.txt, testcase05.txt, testcase06.txt, testcase07.txt, testcase08.txt, testcase09.txt, testcase10.txt, testcase11.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample00.txt | AC | 84 ms | 38560 KB |
sample01.txt | AC | 81 ms | 38572 KB |
testcase00.txt | AC | 86 ms | 38304 KB |
testcase01.txt | AC | 82 ms | 38572 KB |
testcase02.txt | AC | 83 ms | 38296 KB |
testcase03.txt | AC | 84 ms | 38392 KB |
testcase04.txt | AC | 82 ms | 38576 KB |
testcase05.txt | AC | 84 ms | 38248 KB |
testcase06.txt | AC | 84 ms | 38512 KB |
testcase07.txt | AC | 81 ms | 38680 KB |
testcase08.txt | AC | 81 ms | 38304 KB |
testcase09.txt | AC | 81 ms | 38336 KB |
testcase10.txt | AC | 85 ms | 38440 KB |
testcase11.txt | AC | 82 ms | 38584 KB |