Skip to content

Instantly share code, notes, and snippets.

@rptynan
rptynan / q1.cpp
Created January 20, 2014 15:51
Solutions to AIPO 2012, rushed and silly..
#include <iostream>
using namespace std;
int m, x;
int main(){
cin>>m>>x;
cout<<2*x-m<<endl;
return 0;