結果

問題 No.1101 鼻水
ユーザー arito_asu
提出日時 2020-07-03 22:08:38
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 224 bytes
コンパイル時間 81 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 17,692 KB
最終ジャッジ日時 2024-09-17 02:20:41
合計ジャッジ時間 3,520 ms
ジャッジサーバーID
(参考情報)
judge6 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 TLE * 1
other -- * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

v,t,p = map(int,input().split())

s,w,snr = 0,0,0
while w < v:
    w += 1; s += 1
    snr = snr-1 if snr>0 else snr
    if w==v and p>0:
        p -= 1
        w = 0
    elif snr==0:
        snr = t 
        w -= 1

print(s)
0