結果
問題 | No.2681 ゲームセンターの両替 |
ユーザー |
![]() |
提出日時 | 2024-03-04 15:42:43 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 183 bytes |
コンパイル時間 | 161 ms |
コンパイル使用メモリ | 82,568 KB |
実行使用メモリ | 53,536 KB |
最終ジャッジ日時 | 2024-10-05 04:00:21 |
合計ジャッジ時間 | 1,714 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 23 |
ソースコード
""" 想定解? """ C,Y = map(int,input().split()) Y //= 100 if Y < C: print ("can't exchange") elif Y % 5 >= C: print ("no exchange") else: print ( (Y-C) % 5 + C )