利用string容器轻松拿捏 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>#include<algorithm> using namespace std;//因为字母A到Z是1…… 题解列表 2024年02月05日 0 点赞 0 评论 233 浏览 评分:9.9
C++ 编写题解 1098: 陶陶摘苹果 摘要:解题思路: 注意事项: 参考代码: #include<iostream>using namespace std;int main(){ int a[11],high,count=0; for (int…… 题解列表 2024年02月05日 1 点赞 0 评论 425 浏览 评分:10.0
1306: 老管家的忠诚2 题解 摘要: # 题目大意 给你一个序列 $$a$$,再给你一个操作类型,当操作类型为1时,让你修改 $$a_x$$ 为 $$y$$, 当操作类型为2时,询问区间 $$l,r$$ 的最小值。 # 思路 区间…… 题解列表 2024年02月05日 0 点赞 0 评论 272 浏览 评分:9.9
编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c,x1,x2,x3,x4; cin>>a…… 题解列表 2024年02月05日 0 点赞 0 评论 158 浏览 评分:0.0
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; int sum = …… 题解列表 2024年02月05日 0 点赞 0 评论 206 浏览 评分:0.0
gets和scanf的区别 摘要:- 注意事项1: scanf()输入字符串时,scanf()遇到空格、回车、Tab结束,但在缓冲区中还留着这些结束符,此后如果使用gets()想去获取下一行字符串,它碰到的却是前面遗留下来的回车(或…… 题解列表 2024年02月05日 0 点赞 0 评论 278 浏览 评分:9.9
[编程入门]密码破译 摘要:#include<bits/stdc++.h> using namespace std; #define IOS ios::sync_with_stdio(false) int main() …… 题解列表 2024年02月05日 1 点赞 0 评论 634 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年02月05日 0 点赞 0 评论 200 浏览 评分:9.9
编写题解 1039: [编程入门]宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:编写题解 1039: [编程入门]宏定义之闰年判断#include<iostream> #define LEAP_YEAR(year) ((year % 4 == 0…… 题解列表 2024年02月05日 0 点赞 0 评论 191 浏览 评分:0.0
编写题解 2791: 计算邮资 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int c = 0; int a; cin>>a; …… 题解列表 2024年02月05日 0 点赞 0 评论 170 浏览 评分:0.0