四季豆&兰花草
四季豆&兰花草
全部文章
题解
归档
标签
去牛客网
登录
/
注册
四季豆&兰花草的博客
全部文章
/ 题解
(共3篇)
题解 | #等差数列#抛砖引玉
#include<iostream> using namespace std; int main() { int n; cin >> n; int sum = 0; for (int i = 1; i <= n; i++) { ...
C++
2022-06-29
1
176
题解 | #输入整型数组和排序标识,对其元素按照升序或降序进行排序#如有雷同,纯属巧合,个人的思路,抛砖引玉之用
#include<iostream> #include<vector> #include<algorithm> using namespace std; int main(){ int n; cin >> n; vector&...
C++
2022-06-29
0
197
题解 | #跳台阶#
class Solution { public: int jumpFloor(int number) { ...
C++
2022-06-16
0
131