int main( void ) { freopen("aplusb.in", "rt", stdin); freopen("aplusb.out", "wt", stdout); a.Read(); b.Read(); long double c = a.get() + b.get(); // a.Out(); // fprintf(stderr, "%lf", (double)b.get()); // b.Out(); res = a + b; res.Out(); // fprintf(stderr, "%.9lf == %.9lf\n", (double)c, (double)res.get()); /* a.Out(); b.Out();*/ return 0; }
int main() { Num<int> left = -1; Num<int> right = 1; Num<int> result = left + right; return result.get(); }