結果
問題 |
No.1010 折って重ねて
|
ユーザー |
![]() |
提出日時 | 2021-01-13 21:39:08 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 199 bytes |
コンパイル時間 | 184 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-22 17:50:05 |
合計ジャッジ時間 | 3,089 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 24 WA * 19 |
ソースコード
import sys input=sys.stdin.readline x,y,h=map(int,input().split()) x*=1000 y*=1000 if x<y: x,y=y,x cnt=0 while x>h: x/=2 h*=2 cnt+=1 while y>h: y/=2 h*=2 cnt+=1 print(cnt)