結果

問題 No.1903 Day1
ユーザー shobonvipshobonvip
提出日時 2023-02-17 19:46:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 1,000 ms
コード長 113 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 86,996 KB
実行使用メモリ 75,716 KB
最終ジャッジ日時 2023-09-26 17:14:35
合計ジャッジ時間 1,992 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,328 KB
testcase_01 AC 72 ms
71,192 KB
testcase_02 AC 78 ms
75,716 KB
testcase_03 AC 75 ms
71,184 KB
testcase_04 AC 73 ms
71,212 KB
testcase_05 AC 74 ms
71,476 KB
testcase_06 AC 73 ms
71,096 KB
testcase_07 AC 73 ms
71,520 KB
testcase_08 AC 77 ms
75,560 KB
testcase_09 AC 77 ms
75,436 KB
testcase_10 AC 79 ms
75,516 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
day = 1
while True:
	if day % 7 == 0:
		n += 6
	n -= 1
	if n == 0:
		break
	day += 1

print(day)
0