Submission #61367138
Source Code Expand
Copy
import java.util.Scanner;public class Main{public static void main(String[] args) {Scanner in = new Scanner(System.in);int A = in.nextInt();int B = in.nextInt();System.out.println((int)Math.pow(A+B, 2));}}
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner in = new Scanner(System.in); int A = in.nextInt(); int B = in.nextInt(); System.out.println((int)Math.pow(A+B, 2)); } }
Submission Info
Submission Time | |
---|---|
Task | A - Happy New Year 2025 |
User | pitch_black |
Language | Java (OpenJDK 17) |
Score | 100 |
Code Size | 265 Byte |
Status | AC |
Exec Time | 154 ms |
Memory | 38228 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt |
All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 02_handmade_00.txt, 02_handmade_01.txt, 02_handmade_02.txt, 02_handmade_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_00.txt | AC | 68 ms | 38228 KB |
00_sample_01.txt | AC | 67 ms | 37816 KB |
00_sample_02.txt | AC | 69 ms | 38036 KB |
00_sample_03.txt | AC | 69 ms | 38080 KB |
01_random_00.txt | AC | 69 ms | 37848 KB |
01_random_01.txt | AC | 70 ms | 38084 KB |
01_random_02.txt | AC | 67 ms | 38068 KB |
01_random_03.txt | AC | 154 ms | 37864 KB |
01_random_04.txt | AC | 69 ms | 37808 KB |
01_random_05.txt | AC | 68 ms | 37708 KB |
01_random_06.txt | AC | 69 ms | 37816 KB |
02_handmade_00.txt | AC | 68 ms | 37836 KB |
02_handmade_01.txt | AC | 72 ms | 37816 KB |
02_handmade_02.txt | AC | 68 ms | 37736 KB |
02_handmade_03.txt | AC | 68 ms | 37752 KB |