단계별로 풀어보기 - 반복문 - 11단계 https://www.acmicpc.net/problem/10952 #include using namespace std; int main() { int A,B; do { cin>>A>>B; if((A==0)&&(B==0)) { break; } cout
단계별로 풀어보기 - 반복문 - 10단계 https://www.acmicpc.net/problem/2439 #include using namespace std; int main() { int N; cin>>N; for(int i=1;i
단계별로 풀어보기 - 반복문 - 9단계 https://www.acmicpc.net/problem/2438 #include using namespace std; int main() { int N; cin>>N; for(int i=1;i
단계별로 풀어보기 - 반복문 - 8단계 https://www.acmicpc.net/problem/11022 #include using namespace std; int main() { int A,B,T; cin>>T; for(int i=1;i>A>>B; cout
단계별로 풀어보기 - 반복문 - 7단계 https://www.acmicpc.net/problem/11021 #include using namespace std; int main() { int A,B,T; cin>>T; for(int i=1;i>A>>B; cout
단계별로 풀어보기 - 반복문 - 6단계 https://www.acmicpc.net/problem/15552 #include using namespace std; int main() { cin.tie(NULL); // cin에서 cout 풀기 ios::sync_with_stdio(false); // C++ 단독 버퍼 int A,B,T; cin>>T; for(int i=0;i>A>>B; cout