题解 2909: 直方图 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tong[10002],n,a[10002];int main(){ ci…… 题解列表 2024年07月16日 0 点赞 0 评论 206 浏览 评分:0.0
题解 2909: 直方图 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;ll tong[10000];int n;ll a…… 题解列表 2024年07月16日 0 点赞 0 评论 216 浏览 评分:0.0
2909: 直方图 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;ll tong[10000];int n;ll a…… 题解列表 2024年07月16日 1 点赞 0 评论 203 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;struct tim{ ll n;…… 题解列表 2024年07月16日 0 点赞 0 评论 242 浏览 评分:9.9
题解 2973: 出现次数超过一半的数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int n,tong[1003];int main(){ cin>>n; for(…… 题解列表 2024年07月16日 0 点赞 0 评论 198 浏览 评分:0.0
Java学习小练习 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { Scann…… 题解列表 2024年07月17日 0 点赞 0 评论 229 浏览 评分:9.9
Java学习小练习 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2024年07月17日 0 点赞 0 评论 185 浏览 评分:9.9
2955: 判决素数个数 摘要:解题思路:循环判断x到y有多少个质数注意事项:后面定义sum来累加计算 rutern不能写成cout MYdamn里是i …… 题解列表 2024年07月17日 0 点赞 0 评论 226 浏览 评分:0.0
简单易懂求Sn的值 摘要:解题思路:Sn=a+aa+aaa+...,可以看成是Sn=A1+A2+A3+....而A1=a*10^0, A2=A1+a*10^1, A3=a*10^2+A2,所以可以得出 An=a*1…… 题解列表 2024年07月17日 0 点赞 0 评论 354 浏览 评分:0.0
回文数判断C++ 摘要:解题思路:定义函数 判断是否是回文数 再从主函数调用注意事项:赋值与等于的区别!本文赋值为加粗字体,等于为红色字体参考代码:#include <bits/stdc++.h>using namespac…… 题解列表 2024年07月17日 1 点赞 0 评论 502 浏览 评分:9.9