結果

問題 No.1903 Day1
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2022-04-15 21:33:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 68 ms / 1,000 ms
コード長 141 bytes
コンパイル時間 283 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 75,796 KB
最終ジャッジ日時 2023-08-26 07:36:34
合計ジャッジ時間 1,669 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
70,888 KB
testcase_01 AC 64 ms
71,196 KB
testcase_02 AC 68 ms
75,648 KB
testcase_03 AC 63 ms
71,076 KB
testcase_04 AC 63 ms
71,488 KB
testcase_05 AC 64 ms
71,392 KB
testcase_06 AC 63 ms
70,904 KB
testcase_07 AC 65 ms
71,068 KB
testcase_08 AC 67 ms
75,796 KB
testcase_09 AC 68 ms
75,772 KB
testcase_10 AC 65 ms
75,640 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = 0
for i in range(1,2*10**5):
    if i%7 == 0:
        n += 6
    n -= 1
    if n == 0:
        print(i)
        exit()
0