AtCoder Python Snippets
Snippets
Prefix |
Method |
def solve(params) |
Create Solve Function |
def check(params) |
Create Solve Function (Bool) |
S = input() |
Scan String |
N = int(input()) |
Scan Number |
N = [int(_) for _ in input().split()] |
Scan Numbers |
N = [[int(_) for _ in input().split()] for i in range(N)] |
Scan Numbers from Multi Lines |
import atcoder |
Import Modules for AtCoder |
| |