fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. doublex,y;
  7. cin>>x;
  8. y=pow(x-1,3)+2*pow(1+x,2)-5*x/3;
  9. cout<<y<<"/t"<<x<<endl;
  10.  
  11. return 0;
  12. }
Runtime error #stdin #stdout 0.02s 3068KB
stdin
Standard input is empty
stdout
Standard output is empty