Submission #213560

# Submission time Handle Problem Language Result Execution time Memory
213560 2020-03-26T06:32:52 Z berryzed Ancient symbol (kriii1_A) Java 11
0 / 1
82 ms 12008 KB
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class A {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int x = Integer.parseInt(br.readLine());
		System.out.println((int) (111 * Math.pow(x, 2) + 11 * x + 1));
	}
}
# Verdict Execution time Memory Grader output
1 Runtime error 82 ms 12008 KB Memory limit exceeded (if you are sure your verdict is not MLE, please contact us)
2 Halted 0 ms 0 KB -