题解列表

筛选

2974: 统计字符数

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e7;ll to……

题解 2974: 统计字符数

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1001;ll to……

题解 2909: 直方图

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tong[10002],n,a[10002];int main(){ ci……

题解 2909: 直方图

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;ll tong[10000];int n;ll a……

2909: 直方图

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;ll tong[10000];int n;ll a……

Java学习小练习

摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { Scann……

Java学习小练习

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……

2955: 判决素数个数

摘要:解题思路:循环判断x到y有多少个质数注意事项:后面定义sum来累加计算              rutern不能写成cout              MYdamn里是i              ……