其实这道题目我完全看不懂
只不过我通过样例推出了大概意思
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll N=1e5+1e4,M=1e3+1e2;
const ll Maxn=0x3ffffff,Minm=-0x3ffffff;
ll x,y;
ll ans1,ans2;
signed main()
{
while(1)
{
cin>>x>>y;
if(x==0)break;
ans1+=x,ans2+=y;
}
printf("A(0,%d),B(0,0),C(%d,0)",ans1,ans2);
}
百丽宫是这样的,我期末考试都读不懂题