http://acm.hit.edu.cn/hoj/problem/view?id=2528
#include<stdio.h>
int main()
{
int x, y, z;
while (scanf("%d %d", &x, &y) != EOF)
{
z = 6 - x - y;
printf("%d\n", z);
}
return 0;
}
http://acm.hit.edu.cn/hoj/problem/view?id=2528
#include<stdio.h>
int main()
{
int x, y, z;
while (scanf("%d %d", &x, &y) != EOF)
{
z = 6 - x - y;
printf("%d\n", z);
}
return 0;
}