結果
問題 | No.176 2種類の切手 |
ユーザー |
![]() |
提出日時 | 2024-11-16 14:34:15 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 118 bytes |
コンパイル時間 | 274 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 57,344 KB |
最終ジャッジ日時 | 2024-11-16 14:34:18 |
合計ジャッジ時間 | 2,822 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 25 WA * 4 |
ソースコード
A,B,T=map(int,input().split()) a=A*B*T for i in range(min(A,(T+B-1)//B)+1): a=min(a,B*i+((T-B*i+A-1)//A)*A) print(a)