Home AtCoder. ABC 237 B Matrix Transposition
Post
Cancel

AtCoder. ABC 237 B Matrix Transposition

[Link] https://AtCoder.jp/contests/abc237/tasks/abc237_b

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import java.util.*;
import java.io.*;

public class Main {
	static BufferedReader br;
	static StringBuilder sb = new StringBuilder();
	public static void main(String[] args) throws IOException {
		br = new BufferedReader(new InputStreamReader(System.in));
		long l = Long.parseLong(br.readLine());
		if(l <= Integer.MAX_VALUE && Integer.MIN_VALUE <= l) println("Yes");
		else println("No");
	}

	static int toi(String s) { return Integer.parseInt(s); }
	static String[] getLine() throws IOException { return br.readLine().split(" "); }
	static int[] getArr() throws IOException { return Arrays.stream(br.readLine().split(" ")).mapToInt(Integer::parseInt).toArray(); }
	static <T> void print(T s) { System.out.print(s); }
	static <T> void println(T s) { System.out.println(s); }
}
This post is licensed under CC BY 4.0 by the author.