結果

問題 No.1992 Tendon Walk
ユーザー 𖧱𖦸𖥩𖥣𖥩𖥣
提出日時 2024-05-08 15:46:45
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 124 bytes
コンパイル時間 322 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-12-14 20:40:10
合計ジャッジ時間 1,373 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
c = 0
t = 0
while n != t:
	c += 1
	if c%7 == 1 or c%7 == 2 or c%7 == 5:
		t += 2
	else:
		t -= 1
print(c)
	
0