main.cpp 211 B

1234567891011121314
  1. #include "coefficients.hpp"
  2. #include "polygon.hpp"
  3. int main(){
  4. try{
  5. Polygon P("u100l100d100r100");
  6. mpfr_printf("%Re\n",P.get_fp());
  7. }
  8. catch(const Error& error){
  9. cerr<<error.msg<<endl;
  10. }
  11. }