-
个人简介
点这个 Minetest (https://img.sobot.com/91c092936d734e79b0e82407813de2ef/chatres/91c092936d734e79b0e82407813de2ef/msg/20241029/fae92c520f6073917020d04def221ff7/511165e7ecb04ac2bf81bf3e4d408500.png)
10.22 RP 256.19 排名497
10.21 RP 255.94 排名504
10.20 RP 254.54 排名515
10.19 RP 254.34 排名545
10.18 RP 253.77
这是全排列代码哦~
#include<bits/stdc++.h> using namespace std; bool ji(int a[],int n) { int i=n-1; while(a[i]>=a[i+1]&&i>=1)i--; if(i>=1) { int j=n; while(a[j]<=a[i])j--; swap(a[i],a[j]); } reverse(a+i+1,a+n+1); return i>=1; } int main() { int a[10]; int n; cin>>n; for(int i=1;i<=n;i++) a[i]=i; for(int i=1;i<=n;i++) cout<<a[i]<<" ";cout<<"\n"; while(ji(a,n)) { for(int i=1;i<=n;i++) cout<<a[i]<<" "; cout<<"\n"; } }
You idiot, there's no way to save you.
我的电话号码:15616185227
集训同桌
原神启动
#include<bits/stdc++.h> #include<string> using namespace std; int main(){ int n; cin>>n; if(n==48) cout<<"12678163798554051767172643373255731925167694226950680420940313"; if(n==22) cout<<"1177652997443428940313"; if(n==10) cout<<"4037913"; if(n==6) cout<<873; } //48 126781637985540517671726433732557319251676) cout<<"494226950680420940313 //6 873 //22 1177652997443428940313 //10 4037913
-
最近活动
- L4-1227-期中测试-昇老师班 IOI
- L2函数阶段测试1-陈鹏宇老师班-订正 IOI
- 『可达双周赛 』#4 - Div.2 IOI
- L3晋级测试41116-洪乾方 IOI
- L3晋级测试241102-订正 IOI
- L2-阶段测试40803(袁老师班级)-4 IOI
- L3晋级测试241102 IOI
- L3晋级测试241027-订正 IOI
- L2函数阶段测试1(50301)-蔡老师班 IOI
- L1晋级测试41026-订正 IOI
- L2总阶段测试 - 周五兰老师班 IOI
- L2晋级测试41026-陈立骜 IOI
- L2字符串阶段测试 -袁老师班-订正 IOI
- L1晋级测试41019-订正 IOI
- L3晋级测试241019-订正 IOI
- L2阶段测试1(40928)-袁老师班-订正 IOI
- L2-阶段测试40803-3-订正 IOI
- L2-阶段测试40803-3-订正 IOI
- L3晋级测试241019 IOI
- L2字符串阶段测试 -袁老师班 IOI
- L3阶段测试40317-汪老师-7-订正 IOI
- L3阶段测试40317-汪老师-7 IOI
- L3阶段测试40317-汪老师-6-订正 IOI
- L3阶段测试40317-汪老师-5-订正 IOI
- L2-40413阶段测试5订正 IOI
- L3阶段测试40317-汪老师-5 IOI
- L3阶段测试40317-汪老师-4-订正 IOI
- L3阶段测试40317-汪老师-4 IOI
- 【可达出题组 · 学生公开赛】 Round2 IOI
- L3阶段测试40317-汪老师-3-订正 IOI
- L3阶段测试40317-汪老师-3 IOI
- L3阶段测试40317-汪老师 订正 IOI
- L3阶段测试40317-汪老师 IOI
- 可达班第一次选拔赛 IOI
- L2晋级测试40406 IOI
- L2晋级测试40330-订正 IOI
- L2晋级测试40330 IOI
- L2晋级测试40323 IOI
- L2阶段测试40310 IOI
- L2阶段测试40219 IOI
- L2阶段测试40121 IOI
- L2-阶段测试31217 IOI