Submission #61365839
Source Code Expand
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
Scanner s = new Scanner(System.in);
int k = s.nextInt() + s.nextInt();
System.out.println( k*k);
}
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Happy New Year 2025 |
| User | Reuben9027 |
| Language | Java (OpenJDK 17) |
| Score | 100 |
| Code Size | 427 Byte |
| Status | AC |
| Exec Time | 72 ms |
| Memory | 38256 KiB |
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 | 72 ms | 38156 KiB |
| 00_sample_01.txt | AC | 70 ms | 37844 KiB |
| 00_sample_02.txt | AC | 72 ms | 38096 KiB |
| 00_sample_03.txt | AC | 71 ms | 38100 KiB |
| 01_random_00.txt | AC | 71 ms | 37780 KiB |
| 01_random_01.txt | AC | 71 ms | 37832 KiB |
| 01_random_02.txt | AC | 71 ms | 37764 KiB |
| 01_random_03.txt | AC | 71 ms | 37768 KiB |
| 01_random_04.txt | AC | 72 ms | 37868 KiB |
| 01_random_05.txt | AC | 71 ms | 37908 KiB |
| 01_random_06.txt | AC | 71 ms | 38256 KiB |
| 02_handmade_00.txt | AC | 71 ms | 37932 KiB |
| 02_handmade_01.txt | AC | 69 ms | 38028 KiB |
| 02_handmade_02.txt | AC | 71 ms | 38088 KiB |
| 02_handmade_03.txt | AC | 69 ms | 38088 KiB |