mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
10 lines
165 B
C++
10 lines
165 B
C++
|
#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;
|
||
|
}
|