結果
問題 |
No.604 誕生日のお小遣い
|
ユーザー |
![]() |
提出日時 | 2017-12-30 18:13:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 254 bytes |
コンパイル時間 | 227 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 49,748 KB |
最終ジャッジ日時 | 2024-12-21 13:26:54 |
合計ジャッジ時間 | 8,876 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 WA * 12 TLE * 2 |
ソースコード
from pip._vendor.distlib.compat import raw_input N = str(raw_input()).split(sep=" ") A = int(N[0]) B = int(N[1]) C = int(N[2]) i = 0 while True: if A+B <= C: C -= A+B-1 i += A else: i += C print(i) break