8月8日模拟赛
This commit is contained in:
parent
a03cea7984
commit
2c21d5896a
@ -73,6 +73,12 @@ ll ksm(ll a,ll b,ll M){
|
||||
>点击跳转
|
||||
[自己手动实践](./day5/RMQ/st.cpp)
|
||||
|
||||
## Day6
|
||||
[CSP-S1 模拟赛.pdf](./day6/CSP-S1%20模拟赛.pdf)
|
||||
>??:4.13.14.20.21
|
||||
## T9
|
||||
1. 先与后或先&后|
|
||||
|
||||
# 排序
|
||||
## 稳定性
|
||||
>隔着老远swap一般不稳定
|
||||
|
Binary file not shown.
@ -4,17 +4,30 @@ using namespace std;
|
||||
string s1,s2,s3,s4,s5,s6;
|
||||
|
||||
/*
|
||||
1.B 2.B
|
||||
??:4.13.14.20.21
|
||||
|
||||
1.B 2.B 3.A 4.B 5.A 6.B 7.D 8.C 9.B 10.A 11.D 12.A 13.A 14.B 15.A
|
||||
16.T 17.T 18.F 19.F 20.D 21.B
|
||||
22.T 23.F 24.T 25.C 26.D 27.C
|
||||
28.F 29.F 30.T 31.D 32.A 33.A
|
||||
34.C 35.C 36.B 37.B 38.D
|
||||
39.A 40.D 41.D 42.A 43.B
|
||||
|
||||
*/
|
||||
/*
|
||||
|
||||
correct ans
|
||||
9.B
|
||||
|
||||
*/
|
||||
|
||||
int main() {
|
||||
s1 = "ABCDABCDABCDABC";
|
||||
s2 = "TFTFAB";
|
||||
s3 = "TFTABC";
|
||||
s4 = "TFTABC";
|
||||
s5 = "ABCDA";
|
||||
s6 = "ABCDA";
|
||||
s1 = "BBABABDCBADAABA";
|
||||
s2 = "TTFFDB";
|
||||
s3 = "TFTCDC";
|
||||
s4 = "FFTDAA";
|
||||
s5 = "CCBBD";
|
||||
s6 = "ADDAB";
|
||||
|
||||
string ans = s1 + s2 + s3 + s4 + s5 + s6;
|
||||
assert(ans.length() == 43);
|
||||
|
Loading…
Reference in New Issue
Block a user