摘要:
#include <iostream> using namespace std; void s(int a[100]){ for(int i=1;i<=10;i++){ for(int j=i+1;j<=10;j++){ if(a[i]>a[j]){ swap(a[i],a[j]); } } } f 阅读全文
posted @ 2024-11-10 09:33
爱吃泡面的皮卡
阅读(16)
评论(0)
推荐(0)
摘要:
#include <iostream> using namespace std; int main(){ int a[10]={1,3,5,7,9,8,6,4,2,10}; int b[11]; for(int i=0;i<11;i++){ b[i]=0; } for(int i=0;i<10;i+ 阅读全文
posted @ 2024-11-10 09:33
爱吃泡面的皮卡
阅读(17)
评论(0)
推荐(0)

浙公网安备 33010602011771号