#include <iostream>using namespace std; int main() { int a,v,A,b; cin>>a; v=a*a*a; A=a*a*6; cout<<v<<" "<<A; return 0;}
Standard input is empty
785304829 -1419146602
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!