結果

問題 No.3209 Cherry Calculation
ユーザー Maeda
提出日時 2025-08-26 11:24:24
言語 Java
(openjdk 23)
結果
AC  
実行時間 178 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 2,345 ms
コンパイル使用メモリ 77,552 KB
実行使用メモリ 48,240 KB
最終ジャッジ日時 2025-08-26 11:24:33
合計ジャッジ時間 6,899 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		System.out.println((10-a) + " " + (b - (10-a)));
    }
}
0