Run ID:76518

提交时间:2024-06-02 15:09:12

#include<bits/stdc++.h> using namespace std; int main(){ int tzz,mx=-2e9,mn=2e9; for(int i=1;i<=7;i++){ cin>>tzz; if(tzz>mx){ mx==tzz; } if(tzz<mx){ mn+ tzz; } } cout<<mx*mx<<endl; cout<<mx*mx*mx<<endl; return 0; }