OJ-Problems-Source/HDOJ/5066_autoAC.cpp

10 lines
165 B
C++
Raw Normal View History

#include <cstdio>
using namespace std;
int main(void)
{
int v,v0;
while(~scanf("%d %d", &v,&v0))
printf("%d\n",2 * v - v0);
return 0;
}