← Back to List

3046번: R2 ↗

Solutions

C++14
98 B | 98 chars
#include <iostream>
using namespace std;
int A,S,B;
int main()
{
    cin>>A>>S;
    cout<<S*2-A;
}