結果

問題 No.1903 Day1
ユーザー chineristACchineristAC
提出日時 2022-04-15 21:26:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 108 ms / 1,000 ms
コード長 423 bytes
コンパイル時間 258 ms
コンパイル使用メモリ 87,056 KB
実行使用メモリ 79,152 KB
最終ジャッジ日時 2023-08-26 07:29:12
合計ジャッジ時間 2,179 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 102 ms
74,960 KB
testcase_01 AC 100 ms
74,732 KB
testcase_02 AC 108 ms
78,916 KB
testcase_03 AC 101 ms
74,724 KB
testcase_04 AC 103 ms
74,596 KB
testcase_05 AC 105 ms
74,864 KB
testcase_06 AC 106 ms
74,368 KB
testcase_07 AC 103 ms
74,560 KB
testcase_08 AC 106 ms
79,152 KB
testcase_09 AC 106 ms
78,936 KB
testcase_10 AC 107 ms
78,700 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys,random,bisect
from collections import deque,defaultdict
from heapq import heapify,heappop,heappush
from itertools import cycle, permutations
from math import log,gcd

input = lambda :sys.stdin.readline().rstrip()
mi = lambda :map(int,input().split())
li = lambda :list(mi())

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

    
0