[ prog / sol / mona ]

prog


Marvin Minsky - The Beauty of the Lisp Language

55 2020-10-07 02:04

#include <iostream> //C++ version that looks more compact
#include <string>
#include <gmpxx.h>
int main(){//compile with -lgmpxx -lgmp

using namespace std;
string a;
mpz_class inp;
getline(cin,a) ;
inp.set_str(a,10);
cout<< inp+1;
}

301


VIP:

do not edit these