one line with two integers n (2 ≤ n ≤ 1000) and m (1 ≤ m ≤ 5000), where n is the number of (1-indexed) connecting points between slopes and m is the number of slopes.
여기에서 n과 m의 설명이 반대입니다. 아래처럼 바꿔주면 될 것 같습니다.
one line with two integers n (2 ≤ n ≤ 1000) and m (1 ≤ m ≤ 5000), where n is the number of slopes and m is the number of (1-indexed) connecting points between slopes.
yous 4년 전
one line with two integers n (2 ≤ n ≤ 1000) and m (1 ≤ m ≤ 5000), where n is the number of (1-indexed) connecting points between slopes and m is the number of slopes.
여기에서 n과 m의 설명이 반대입니다. 아래처럼 바꿔주면 될 것 같습니다.
one line with two integers n (2 ≤ n ≤ 1000) and m (1 ≤ m ≤ 5000), where n is the number of slopes and m is the number of (1-indexed) connecting points between slopes.