2019-2020 ICPC North-Western Russia Regional Contest
最近事务繁多,很久没写文章。正好趁刚换新队友的第一场训练,记录一下。题目中规中矩。A:solver:lzh完全没看,好像是个傻逼题。1#include2usingnamespacestd;3intmain(){4inta,b,n;scanf("%d%d%d",&a,&b,&n);5intc=b,d=a,ans=0,cur=1;6while(c!=n||d!=n){7if(!cur){8c+=b-a