Submission #213558

# Submission time Handle Problem Language Result Execution time Memory
213558 2020-03-26T06:28:59 Z berryzed Ancient symbol (kriii1_A) Java 11
0 / 1
100 ms 11988 KB
import java.util.Scanner;

/**
 * https://oj.uz/problem/view/kriii1_A
 * <p>
 * 유물 코드를 C 컴파일러로 실행한 후 나온 내용을 다시 위에 붙여서 재컴파일하면 된다.
 * https://www.tutorialspoint.com/compile_c_online.php
 */
public class A {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int x = scanner.nextInt();
		System.out.println(Math.round(111 * Math.pow(x, 2) + 11 * x + 1));
	}
}
# Verdict Execution time Memory Grader output
1 Execution timed out 116 ms 11988 KB Time limit exceeded
2 Halted 0 ms 0 KB -