結果
問題 | No.1992 Tendon Walk |
ユーザー |
![]() |
提出日時 | 2024-08-25 19:53:08 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 129 bytes |
コンパイル時間 | 502 ms |
コンパイル使用メモリ | 82,308 KB |
実行使用メモリ | 53,088 KB |
最終ジャッジ日時 | 2024-08-25 19:53:10 |
合計ジャッジ時間 | 1,704 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
x=int(input())p=0g=0for _ in range(100):for dp in [2,2,-1,-1,2,-1,-1]:p+=dpg+=abs(dp)if p==x:print(g)exit()