結果
問題 | No.1992 Tendon Walk |
ユーザー |
![]() |
提出日時 | 2022-07-01 23:01:43 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 166 bytes |
コンパイル時間 | 218 ms |
コンパイル使用メモリ | 82,392 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-11-26 06:42:52 |
合計ジャッジ時間 | 1,013 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
x=int(input())t=[2,2,-1,-1,2,-1,-1]ans=0a=0while True:for i in t:a+=ians+=abs(i)if a==x:print(ans)exit()