1306: 老管家的忠诚2 题解 摘要: # 题目大意 给你一个序列 $$a$$,再给你一个操作类型,当操作类型为1时,让你修改 $$a_x$$ 为 $$y$$, 当操作类型为2时,询问区间 $$l,r$$ 的最小值。 # 思路 区间…… 题解列表 2024年02月05日 0 点赞 0 评论 376 浏览 评分: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 评论 236 浏览 评分:0.0
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; int sum = …… 题解列表 2024年02月05日 0 点赞 0 评论 294 浏览 评分:0.0
gets和scanf的区别 摘要:- 注意事项1: scanf()输入字符串时,scanf()遇到空格、回车、Tab结束,但在缓冲区中还留着这些结束符,此后如果使用gets()想去获取下一行字符串,它碰到的却是前面遗留下来的回车(或…… 题解列表 2024年02月05日 0 点赞 0 评论 381 浏览 评分:9.9
[编程入门]密码破译 摘要:#include<bits/stdc++.h> using namespace std; #define IOS ios::sync_with_stdio(false) int main() …… 题解列表 2024年02月05日 1 点赞 0 评论 772 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年02月05日 0 点赞 0 评论 265 浏览 评分:9.9
编写题解 1039: [编程入门]宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:编写题解 1039: [编程入门]宏定义之闰年判断#include<iostream> #define LEAP_YEAR(year) ((year % 4 == 0…… 题解列表 2024年02月05日 0 点赞 0 评论 310 浏览 评分:0.0
编写题解 2791: 计算邮资 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int c = 0; int a; cin>>a; …… 题解列表 2024年02月05日 0 点赞 0 评论 247 浏览 评分:0.0
编写题解 2792: 三角形判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin >>a>>b>>c; …… 题解列表 2024年02月05日 0 点赞 0 评论 332 浏览 评分:0.0
编写题解 2790: 分段函数 摘要:解题思路:注意事项:参考代码#include <iostream>using namespace std;int main(){ float x,y; cin>>x; if(x>=0…… 题解列表 2024年02月05日 0 点赞 0 评论 301 浏览 评分:0.0