《算法笔记》codeup_100000571_A

解答:

#include <stdio.h>

int main() {
	int a,b;
	int* p, *q;
	scanf("%d%d", &a, &b);
	p = &a;
	q = &b;
	if(*p>*q)
		printf("%d %d\n", *p, *q);
	else
		printf("%d %d\n", *q, *p);
	return 0;
}
发布了36 篇原创文章 · 获赞 3 · 访问量 1239

猜你喜欢

转载自blog.csdn.net/Zen_Ivan/article/details/105398715
今日推荐