提交 4890a7a3 编写于 作者: 每日一练社区's avatar 每日一练社区

update solution.md

上级 53146583
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
当然,这只是加了前2项而已。分子分母要求互质。 当然,这只是加了前2项而已。分子分母要求互质。
下面哪一项是<span style="color:red">错误</span>的? 下面哪一项是<span style="color:red">错误</span>的?
## aop ## aop
### before ### before
...@@ -13,6 +14,7 @@ ...@@ -13,6 +14,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
99 99
10 10
``` ```
**样例输出** **样例输出**
``` ```
...@@ -53,6 +54,7 @@ ...@@ -53,6 +54,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
...@@ -83,6 +85,7 @@ int main() ...@@ -83,6 +85,7 @@ int main()
return 0; return 0;
} }
``` ```
## 选项 ## 选项
......
...@@ -22,6 +22,7 @@ x星的国王有个怪癖,他只喜欢数字3,5和7。 ...@@ -22,6 +22,7 @@ x星的国王有个怪癖,他只喜欢数字3,5和7。
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -67,6 +67,7 @@ ...@@ -67,6 +67,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -66,6 +66,7 @@ int main() ...@@ -66,6 +66,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -52,6 +52,7 @@ bbccccddaaaacccc ...@@ -52,6 +52,7 @@ bbccccddaaaacccc
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
# 乘积尾零 # 乘积尾零
如下的10行数据,每行有10个整数,请你求出它们的乘积的末尾有多少个零? 如下的10行数据,每行有10个整数,请你求出它们的乘积的末尾有多少个零?
``` ```
5650 4542 3554 473 946 4114 3871 9073 90 4329 5650 4542 3554 473 946 4114 3871 9073 90 4329
2758 7949 6113 5659 5245 7432 3051 4434 6704 3594 2758 7949 6113 5659 5245 7432 3051 4434 6704 3594
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
中国古代文献中,曾记载过“大衍数列”, 主要用于解释中国传统文化中的太极衍生原理。 中国古代文献中,曾记载过“大衍数列”, 主要用于解释中国传统文化中的太极衍生原理。
它的前几项是:```0、2、4、8、12、18、24、32、40、50 …``` 它的前几项是:`0、2、4、8、12、18、24、32、40、50 …`
其规律是:对偶数项,是序号平方再除2,奇数项,是序号平方减1再除2。 其规律是:对偶数项,是序号平方再除2,奇数项,是序号平方减1再除2。
...@@ -33,6 +33,7 @@ int main() ...@@ -33,6 +33,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -47,6 +47,7 @@ C = [C1, C2, ... CN], ...@@ -47,6 +47,7 @@ C = [C1, C2, ... CN],
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -10,6 +10,7 @@ y年m月d日是哪一年的第几天。 ...@@ -10,6 +10,7 @@ y年m月d日是哪一年的第几天。
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
34 76 -54 7 34 76 -54 7
-4 5 23 9 -4 5 23 9
``` ```
**样例输出** **样例输出**
``` ```
...@@ -56,6 +57,8 @@ int main() ...@@ -56,6 +57,8 @@ int main()
} }
``` ```
## aop ## aop
### before ### before
...@@ -63,6 +66,7 @@ int main() ...@@ -63,6 +66,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -54,6 +54,7 @@ int main(int argc, char *argv[]) ...@@ -54,6 +54,7 @@ int main(int argc, char *argv[])
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
# 9数算式 # 9数算式
观察如下的算式: 观察如下的算式:
``` ```
9213 x 85674 = 789314562 9213 x 85674 = 789314562
``` ```
左边的乘数和被乘数正好用到了1~9的所有数字,每个1次。 左边的乘数和被乘数正好用到了1~9的所有数字,每个1次。
而乘积恰好也是用到了1~9的所有数字,并且每个1次。 而乘积恰好也是用到了1~9的所有数字,并且每个1次。
...@@ -24,6 +26,7 @@ ...@@ -24,6 +26,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
格式是:人数,人数,... 格式是:人数,人数,...
例如,有一种可能是:```20,5,4,2,0``` 例如,有一种可能是:`20,5,4,2,0`
以下<span style="color:red">错误</span>的一项是? 以下<span style="color:red">错误</span>的一项是?
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -50,6 +50,7 @@ o 6 ...@@ -50,6 +50,7 @@ o 6
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -55,6 +55,7 @@ o****o**** ...@@ -55,6 +55,7 @@ o****o****
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -59,6 +59,7 @@ int main(int argc, char **argv) ...@@ -59,6 +59,7 @@ int main(int argc, char **argv)
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -32,6 +32,7 @@ int main() ...@@ -32,6 +32,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -56,6 +56,7 @@ int main() ...@@ -56,6 +56,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -110,6 +110,7 @@ int main() ...@@ -110,6 +110,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -77,6 +77,7 @@ int main() ...@@ -77,6 +77,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -46,6 +46,7 @@ Fibonacci数列的递推公式为:Fn=Fn-1+Fn-2,其中F1=F2=1。 ...@@ -46,6 +46,7 @@ Fibonacci数列的递推公式为:Fn=Fn-1+Fn-2,其中F1=F2=1。
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -124,6 +124,7 @@ int main() ...@@ -124,6 +124,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -95,6 +95,7 @@ int main() ...@@ -95,6 +95,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -72,6 +72,7 @@ int main() ...@@ -72,6 +72,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -56,6 +56,7 @@ J大臣想知道:他从某一个城市出发,中间不休息,到达另一 ...@@ -56,6 +56,7 @@ J大臣想知道:他从某一个城市出发,中间不休息,到达另一
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -52,6 +52,7 @@ int main() ...@@ -52,6 +52,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -66,6 +66,7 @@ int main() ...@@ -66,6 +66,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -51,6 +51,7 @@ int main() ...@@ -51,6 +51,7 @@ int main()
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -59,6 +59,7 @@ X 国王有一个地宫宝库,是 n×m 个格子的矩阵,每个格子放一 ...@@ -59,6 +59,7 @@ X 国王有一个地宫宝库,是 n×m 个格子的矩阵,每个格子放一
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <map> #include <map>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -18,6 +18,7 @@ struct ListNode ...@@ -18,6 +18,7 @@ struct ListNode
ListNode(int x) : val(x), next(NULL) {} ListNode(int x) : val(x), next(NULL) {}
}; };
``` ```
### after ### after
```cpp ```cpp
......
...@@ -20,6 +20,7 @@ struct ListNode ...@@ -20,6 +20,7 @@ struct ListNode
ListNode(int x, ListNode *next) : val(x), next(next){}; ListNode(int x, ListNode *next) : val(x), next(next){};
}; };
``` ```
### after ### after
```cpp ```cpp
......
...@@ -20,6 +20,7 @@ struct ListNode ...@@ -20,6 +20,7 @@ struct ListNode
ListNode(int x, ListNode *next) : val(x), next(next){}; ListNode(int x, ListNode *next) : val(x), next(next){};
}; };
``` ```
### after ### after
```cpp ```cpp
......
...@@ -18,6 +18,7 @@ struct ListNode ...@@ -18,6 +18,7 @@ struct ListNode
ListNode(int x) : val(x), next(NULL) {} ListNode(int x) : val(x), next(NULL) {}
}; };
``` ```
### after ### after
```cpp ```cpp
......
...@@ -17,6 +17,7 @@ struct ListNode ...@@ -17,6 +17,7 @@ struct ListNode
ListNode(int x, ListNode *next) : val(x), next(next){}; ListNode(int x, ListNode *next) : val(x), next(next){};
}; };
``` ```
### after ### after
```cpp ```cpp
......
...@@ -18,6 +18,7 @@ struct ListNode ...@@ -18,6 +18,7 @@ struct ListNode
ListNode(int x) : val(x), next(NULL) {} ListNode(int x) : val(x), next(NULL) {}
}; };
``` ```
### after ### after
```cpp ```cpp
......
...@@ -20,6 +20,7 @@ struct ListNode ...@@ -20,6 +20,7 @@ struct ListNode
ListNode(int x, ListNode *next) : val(x), next(next){}; ListNode(int x, ListNode *next) : val(x), next(next){};
}; };
``` ```
### after ### after
```cpp ```cpp
......
...@@ -18,6 +18,7 @@ struct ListNode ...@@ -18,6 +18,7 @@ struct ListNode
ListNode(int x) : val(x), next(NULL) {} ListNode(int x) : val(x), next(NULL) {}
}; };
``` ```
### after ### after
```cpp ```cpp
......
...@@ -23,6 +23,7 @@ struct ListNode ...@@ -23,6 +23,7 @@ struct ListNode
ListNode(int x, ListNode *next) : val(x), next(next){}; ListNode(int x, ListNode *next) : val(x), next(next){};
}; };
``` ```
### after ### after
```cpp ```cpp
......
...@@ -20,6 +20,7 @@ struct ListNode ...@@ -20,6 +20,7 @@ struct ListNode
ListNode(int x, ListNode *next) : val(x), next(next){}; ListNode(int x, ListNode *next) : val(x), next(next){};
}; };
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -119,6 +119,7 @@ ...@@ -119,6 +119,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -75,6 +75,7 @@ countAndSay(4) = 读 "21" = 一 个 2 + 一 个 1 = "12" + "11" = "1211" ...@@ -75,6 +75,7 @@ countAndSay(4) = 读 "21" = 一 个 2 + 一 个 1 = "12" + "11" = "1211"
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -60,6 +60,7 @@ P I ...@@ -60,6 +60,7 @@ P I
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -49,6 +49,7 @@ minStack.getMin(); --&gt; 返回 -2. ...@@ -49,6 +49,7 @@ minStack.getMin(); --&gt; 返回 -2.
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
```cpp ```cpp
``` ```
### after ### after
```cpp ```cpp
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#include <bits/stdc++.h> #include <bits/stdc++.h>
using namespace std; using namespace std;
``` ```
### after ### after
```cpp ```cpp
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册