Run ID:100772

提交时间:2024-12-12 22:05:47

#include <iostream> using namespace std; int main() { int t,max; cin>>max; int i; for(i=1;i<7;i++){ cin>>t; if(t>max) max=t; } cout<<max*max<<endl; cout<<max*max*max<<endl; return 0; }