이것저것
C언어 swea 2043 본문
https://swexpertacademy.com/main/identity/anonymous/loginPage.do
SW Expert Academy
SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!
swexpertacademy.com
#include <stdio.h>
int main(void){
int P,K,index = 0;
scanf("%d %d",&P, &K);
while(P != K){
k++;
index++;
}
printf("%d", index + 1);
return 0;s
}
'Language > C언어' 카테고리의 다른 글
C언어 swea 2025 대각선 출력하기 (0) | 2020.11.20 |
---|---|
C언어 swea 2027 N줄 덧셈 (0) | 2020.11.20 |
C언어 swea 1936 (0) | 2020.11.20 |
C언어 swea 2029 (0) | 2020.11.20 |
C언어 swea 1938 (0) | 2020.11.20 |