2018年3月21日
摘要: #include using namespace std;int quick(int a,int b){ int s=1; while(b) { if(b%2==1) s*... 阅读全文
posted @ 2018-03-21 17:55 蔡军帅 阅读(60) 评论(0) 推荐(0)
摘要: #include using namespace std; int quick(int a,int b) { int s=1; while(b) { if(b%2==1) s*=a; a*=a; b/=2; } return s; } int main() { int a,b; cin>>... 阅读全文
posted @ 2018-03-21 17:55 蔡军帅 阅读(161) 评论(0) 推荐(0)
摘要: 59 1 0 -2 6-2 0 1 6 9 #include #include using namespace std;int a[105];int b[105];int Partition(int... 阅读全文
posted @ 2018-03-21 17:43 蔡军帅 阅读(107) 评论(0) 推荐(0)
摘要: 5 9 1 0 -2 6 -2 0 1 6 9 阅读全文
posted @ 2018-03-21 17:43 蔡军帅 阅读(260) 评论(0) 推荐(0)
摘要: 排序输入 8 4 9 -5 2 96 0 13 -6输出 -6 -5 0 2 4 9 13 96 #include #include using namespac... 阅读全文
posted @ 2018-03-21 17:10 蔡军帅 阅读(103) 评论(0) 推荐(0)
摘要: 排序 输入 8 4 9 -5 2 96 0 13 -6 输出 -6 -5 0 2 4 9 13 96 阅读全文
posted @ 2018-03-21 17:10 蔡军帅 阅读(218) 评论(0) 推荐(0)