結果

問題 No.3209 Cherry Calculation
ユーザー u_kun
提出日時 2025-07-25 21:21:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 82,716 KB
実行使用メモリ 53,812 KB
最終ジャッジ日時 2025-07-25 21:22:15
合計ジャッジ時間 2,078 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())

for x in range(1, 100):
    for y in range(1, 100):
        
        if A + x == 10 and x + y == B:
            print(x, y)
            exit()
0