結果
問題 | No.1992 Tendon Walk |
ユーザー |
![]() |
提出日時 | 2022-07-01 21:32:11 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 43 ms / 2,000 ms |
コード長 | 164 bytes |
コンパイル時間 | 236 ms |
コンパイル使用メモリ | 82,072 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-11-26 04:00:56 |
合計ジャッジ時間 | 1,154 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
ope = [2,2,-1,-1,2,-1,-1]X = int(input())x = 0ans = 0for i in range(100):d = ope[i%7]x += dans += abs(d)if x == X:breakprint(ans)