1 2 3 4 5 6 7 8 9 10 11 12 13
// -*- mode:C++ ; compile-command: "g++ -I.. -g -c cas2.cc" -*- #include "first.h" #include <string> #include "gen.h" using namespace std; using namespace giac; int main(){ string s; cin >> s; cout << eval(gen(s)) << endl; }