로딩
요청 처리 중입니다...

AtCoder Beginner Contest 278

 AtCoder Beginner Contest 278

A - Shift A - Shift AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online. atcoder.jp K번째 idx부터 N번째까지 출력 한 후 K > N임을 고려해, min(K, N)의 0을 출력한다. queue를 써도 된다.

#include #include using namespace std; typedef long long ll; typedef pair pii; typedef pair pll; typedef tuple tii; const int MAX = 105; int N, K, A[MAX]; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); c...