fork download
  1. #include <iostream>
  2. using namespace std;
  3. //dato un valore in input calcolare la somma del quadrato e del cubo
  4. int main() {
  5. int x=6;
  6. cin>>x;
  7. cout<<(x*x)+(x*x*x)<<endl;
  8.  
  9.  
  10.  
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
252