Short Cake
8PM - Animal Crossing Wild World

사생활 보호 설정

https://gamjia.tistory.com

Mini Rooms

  • 내 미니룸
  • 미니미설정
  • 미니룸설정
  • 답글수 [0]

What Friends Say

한마디로 표현해봐~

1촌평 관리

15552번 빠른 A+B

GamJia 2023. 3. 22. 09:08

단계별로 풀어보기 - 반복문 - 6단계

https://www.acmicpc.net/problem/15552

#include <iostream>
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<T;i++)
    {
        cin>>A>>B;
        cout<<A+B<<"\n";
    }
    
    return 0;    
    
}
​

'BaekJoon' 카테고리의 다른 글

11022번 A+B -8  (0) 2023.03.22
11021번 A+B -7  (1) 2023.03.22
25314번 코딩은 체육과목 입니다  (0) 2023.03.22
25304번 영수증  (0) 2023.03.22
8393번 합  (0) 2023.03.22