题解列表

筛选

C++ : 数组逆序重放

摘要:解题思路:  超级超级简单注意事项:  注意逆序输出的时候,最大的位置是 n-1,不是 n 了参考代码:#include<iostream>using namespace std;int main()……

利用string容器轻松拿捏

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>#include<algorithm> using namespace std;//因为字母A到Z是1……

1306: 老管家的忠诚2 题解

摘要: # 题目大意 给你一个序列 $$a$$,再给你一个操作类型,当操作类型为1时,让你修改 $$a_x$$ 为 $$y$$, 当操作类型为2时,询问区间 $$l,r$$ 的最小值。 # 思路 区间……

[编程入门]密码破译

摘要:#include<bits/stdc++.h> using namespace std; #define IOS ios::sync_with_stdio(false) int main() ……

编写题解 2792: 三角形判断

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    int a,b,c;    cin >>a>>b>>c;   ……

编写题解 2790: 分段函数

摘要:解题思路:注意事项:参考代码#include <iostream>using namespace std;int main(){    float x,y;    cin>>x;    if(x>=0……

模拟计算器

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    int a,b;    char c;    cin>>a>>……

大整数乘法C++

摘要://大整数乘法#include <bits/stdc++.h>using namespace std;int na[2005], nb[2005], nc[4010];string mul(strin……