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);
}
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