본문 바로가기
PROGRAMMING CODE/C

[BAEKJOON] No.10950 C언어

by daye_ 2021. 10. 18.

A+B-3

#include <stdio.h>

int main(int argc, const char * argv[]) {
    int n=0,a=0,b=0;
    scanf("%d",&n);
  
    for(int i=0; i<n; i++){
        scanf("%d %d",&a,&b);
        printf("%d\n",a+b);
    }
    
    return 0;
}

'PROGRAMMING CODE > C' 카테고리의 다른 글

[BAEKJOON] No.10952 C언어  (0) 2021.10.18
[BAEKJOON] No.10951 C언어  (0) 2021.10.18
[BAEKJOON] No.10871 C언어  (0) 2021.10.18
[BAEKJOON] No.10869 C언어  (0) 2021.10.18
[BAEKJOON] No.10430 C언어  (0) 2021.10.18