Language: C++

#include <iostream>
using namespace std;
int main(void){
    double r;
    double pi;
    cin>>r;
    pi =3.14159265358979323846264338327950288419716939937510
58209749445923078164062862089986280348253421170679
82148086513282306647093844609550582231725359408128
48111745028410270193852110555964462294895493038196
44288109756659334461284756482337867831652712019091
45648566923460348610454326648213393607260249141273
72458700660631558817488152092096282925409171536436
78925903600113305305488204665213841469519415116094
33057270365759591953092186117381932611793105118548
07446237996274956735188575272489122793818301194912
98336733624406566430860213949463952247371907021798
60943702770539217176293176752384674818467669405132
00056812714526356082778577134275778960917363717872
14684409012249534301465495853710507922796892589235
42019956112129021960864034418159813629774771309960
51870721134999999837297804995105973173281609631859
50244594553469083026425223082533446850352619311881
71010003137838752886587533208381420617177669147303
59825349042875546873115956286388235378759375195778
18577805321712268066130019278766111959092164201989;
    cout<<r*r*pi<<" "<<2*r*pi<<endl;
    
}


Compiler output:
a.cc:8:1: warning: integer constant is too large for its type
    8 | 58209749445923078164062862089986280348253421170679
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:9:1: warning: integer constant is too large for its type
    9 | 82148086513282306647093844609550582231725359408128
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:10:1: warning: integer constant is too large for its type
   10 | 48111745028410270193852110555964462294895493038196
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:11:1: warning: integer constant is too large for its type
   11 | 44288109756659334461284756482337867831652712019091
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:12:1: warning: integer constant is too large for its type
   12 | 45648566923460348610454326648213393607260249141273
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:13:1: warning: integer constant is too large for its type
   13 | 72458700660631558817488152092096282925409171536436
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:14:1: warning: integer constant is too large for its type
   14 | 78925903600113305305488204665213841469519415116094
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:15:1: warning: integer constant is too large for its type
   15 | 33057270365759591953092186117381932611793105118548
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:16:1: error: invalid digit "9" in octal constant
   16 | 07446237996274956735188575272489122793818301194912
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:17:1: warning: integer constant is too large for its type
   17 | 98336733624406566430860213949463952247371907021798
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:18:1: warning: integer constant is too large for its type
   18 | 60943702770539217176293176752384674818467669405132
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:19:1: error: invalid digit "9" in octal constant
   19 | 00056812714526356082778577134275778960917363717872
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:20:1: warning: integer constant is too large for its type
   20 | 14684409012249534301465495853710507922796892589235
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:21:1: warning: integer constant is too large for its type
   21 | 42019956112129021960864034418159813629774771309960
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:22:1: warning: integer constant is too large for its type
   22 | 51870721134999999837297804995105973173281609631859
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:23:1: warning: integer constant is too large for its type
   23 | 50244594553469083026425223082533446850352619311881
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:24:1: warning: integer constant is too large for its type
   24 | 71010003137838752886587533208381420617177669147303
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:25:1: warning: integer constant is too large for its type
   25 | 59825349042875546873115956286388235378759375195778
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:26:1: warning: integer constant is too large for its type
   26 | 18577805321712268066130019278766111959092164201989;
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:61: error: expected ';' before numeric constant
    7 |     pi =3.14159265358979323846264338327950288419716939937510
      |                                                             ^
      |                                                             ;
    8 | 58209749445923078164062862089986280348253421170679
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~