結果

問題 No.3083 One Two
ユーザー 阿部敏江(とち)
提出日時 2025-08-07 13:12:31
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 172 bytes
コンパイル時間 428 ms
コンパイル使用メモリ 12,032 KB
実行使用メモリ 17,700 KB
最終ジャッジ日時 2025-08-07 13:12:36
合計ジャッジ時間 4,642 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other TLE * 1 -- * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
ans=0
hoge=0
while n!=hoge:
    hoge+=2
    ans+=1
    #print(ans,hoge)
    if n==hoge:
        break
    hoge+=1
    ans+=1
    #print(ans,hoge)
print(ans)
0