AtCoder ABC 012 A&B&C AtCoder - 012
private void solveA() {
int a = nextInt();
int b = nextInt();
out.println(b + " " + a);
}
private void solveB() {
int n = nextInt();
int h = n / 3600;
n %= 3600;
int m = n / 60;
n %= 60;
int s = n;
System.out.printf("%02d:%02d:%02d", h, m, s);
}
-$ 1 \ times 1 to 9 \ times 9 $ total 2025
private void solveC() {
int n = 2025 - nextInt();
for (int i = 1; i <= 9; i++) {
for (int j = 1; j <= 9; j++) {
if (i * j == n) {
out.println(i + " x " + j);
}
}
}
}
Recommended Posts