开关灯 (Java) 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2022年12月10日 0 点赞 0 评论 566 浏览 评分:5.0
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,sum=0,b,t,i,m; int a[N]; scanf("%d",&N); for( i=0;…… 题解列表 2022年12月10日 0 点赞 0 评论 308 浏览 评分:9.9
Hash映射求亲密数 摘要:# 哈希映射 ~~~ c++ int main() { int i ; int j ; int count = 0; int cmp ; int Hash[3001]{ 0 …… 题解列表 2022年12月10日 0 点赞 0 评论 394 浏览 评分:9.9
1190: 剔除相关数 摘要:```cpp #include #include #include #include using namespace std; mapma; setse; struct str { …… 题解列表 2022年12月10日 0 点赞 0 评论 405 浏览 评分:9.9
1189: 内码对称 摘要:```cpp #include using namespace std; typedef long long LL; int main() { LL num; int a…… 题解列表 2022年12月10日 0 点赞 0 评论 476 浏览 评分:9.9
1188: 做幻方 摘要:```cpp #include #include #include #define MOVE magic[y-1][x+1] using namespace std; int main()…… 题解列表 2022年12月10日 0 点赞 0 评论 630 浏览 评分:9.9
python 简单易懂的求平均年龄-题解 摘要:解题思路: 用for循环来输入注意事项: 输入的是个整数(int)参考代码: n = int(input());s=k=0for i in range(n): x = int(input())…… 题解列表 2022年12月10日 0 点赞 4 评论 1057 浏览 评分:6.2
晶晶赴会选择语句 摘要:解题思路:利用switch语句注意事项:一定要用break语句结束参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); s…… 题解列表 2022年12月10日 0 点赞 0 评论 428 浏览 评分:9.0
[编程入门]完数的判断 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; int len=0; int arr[…… 题解列表 2022年12月09日 0 点赞 0 评论 237 浏览 评分:9.9
[编程入门]Sn的公式求和 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; cin>>n; int Sn=0; …… 题解列表 2022年12月09日 0 点赞 0 评论 394 浏览 评分:9.3