็ตๆ
ๅ้ก | No.2878 ๐๐พโ๐๐๐๐โ |
ใฆใผใถใผ | mkawa2 |
ๆๅบๆฅๆ | 2024-09-08 12:58:45 |
่จ่ช | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
็ตๆ |
AC
|
ๅฎ่กๆ้ | 30 ms / 2,000 ms |
ใณใผใ้ท | 797 bytes |
ใณใณใใคใซๆ้ | 627 ms |
ใณใณใใคใซไฝฟ็จใกใขใช | 12,544 KB |
ๅฎ่กไฝฟ็จใกใขใช | 10,752 KB |
ๆ็ตใธใฃใใธๆฅๆ | 2024-09-08 12:58:46 |
ๅ่จใธใฃใใธๆ้ | 1,276 ms |
ใธใฃใใธใตใผใใผID ๏ผๅ่ๆ ๅ ฑ๏ผ |
judge4 / judge2 |
๏ผ่ฆใญใฐใคใณ๏ผ
ใในใใฑใผใน
ใในใใฑใผใน่กจ็คบๅ ฅๅ | ็ตๆ | ๅฎ่กๆ้ ๅฎ่กไฝฟ็จใกใขใช |
---|---|---|
testcase_00 | AC | 28 ms
10,624 KB |
testcase_01 | AC | 29 ms
10,752 KB |
testcase_02 | AC | 30 ms
10,752 KB |
testcase_03 | AC | 29 ms
10,752 KB |
testcase_04 | AC | 29 ms
10,624 KB |
testcase_05 | AC | 30 ms
10,752 KB |
testcase_06 | AC | 30 ms
10,752 KB |
testcase_07 | AC | 29 ms
10,752 KB |
ใฝใผในใณใผใ
import sys# sys.setrecursionlimit(200005)# sys.set_int_max_str_digits(200005)int1 = lambda x: int(x)-1pDB = lambda *x: print(*x, end="\n", file=sys.stderr)p2D = lambda x: print(*x, sep="\n", end="\n\n", file=sys.stderr)def II(): return int(sys.stdin.readline())def LI(): return list(map(int, sys.stdin.readline().split()))def LLI(rows_number): return [LI() for _ in range(rows_number)]def LI1(): return list(map(int1, sys.stdin.readline().split()))def LLI1(rows_number): return [LI1() for _ in range(rows_number)]def SI(): return sys.stdin.readline().rstrip()dij = [(0, 1), (-1, 0), (0, -1), (1, 0)]# dij = [(0, 1), (-1, 0), (0, -1), (1, 0), (1, 1), (1, -1), (-1, 1), (-1, -1)]# inf = -1-(-1 << 31)inf = -1-(-1 << 62)# md = 10**9+7md = 998244353i=II()-1print("IGNITION"[i])