最新回答 / Hc丶
#include<iostream>using namespace std;int get(int *a,int m,bool isMax){?int temp=a[0];?? for(int i=1;i<m;i++)?? {??? if(isMax)?? {?? if(temp<a[i])?? {?? temp=a[i];?? }?? }? else ? { if(temp>a[i])? {??temp=a[i];?}?? }?? }}int main(){?int a[5...
2015-10-25
count<<oct<<x<<endl;
count<<dec<<x<<endl;
count<<hex<<x<<endl;
count<<dec<<x<<endl;
count<<hex<<x<<endl;
2015-10-20