2785: 判断一个数能否同时被3和5整除 摘要:解题思路:注意事项:参考代码:import sysa = int(input())if a < -1000000 or a > 1000000: sys.exit() …… 题解列表 2022年11月29日 0 点赞 0 评论 518 浏览 评分:8.0
2786: 判断能否被3、5、7整除 摘要:解题思路:不用循环,只用条件判断语句注意事项:参考代码:a = int(input())if a % 3 == 0 and a % 5 == 0 and a % 7 == 0: print(&#…… 题解列表 2022年11月29日 0 点赞 0 评论 721 浏览 评分:2.0
(要脸,别举报) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char n; while(~(scanf("%c",&n))) { i…… 题解列表 2022年11月29日 0 点赞 1 评论 346 浏览 评分:9.9
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int h,m,s; int t; scanf("%d",&t); s=t%60; …… 题解列表 2022年11月29日 0 点赞 0 评论 236 浏览 评分:0.0
最短代码哈哈 摘要:解题思路: 能AC但不是正解参考代码:import java.util.Scanner; public class Main { public static void main(Str…… 题解列表 2022年11月29日 1 点赞 0 评论 411 浏览 评分:9.9
Java题解:马走日 摘要:解题思路: 直接DFS爆搜得了 判断好边界 注意回溯参考代码: import java.io.BufferedReader; import java.io.IOException; import…… 题解列表 2022年11月29日 0 点赞 0 评论 418 浏览 评分:9.9
Java题解:计算2的N次方 摘要:解题思路: 开高精BigInteger 打了个快速幂 参考代码:import java.math.BigInteger; import java.util.Scanner; public cl…… 题解列表 2022年11月29日 0 点赞 0 评论 846 浏览 评分:9.9
2120: 信息学奥赛一本通T1312-昆虫繁殖(递归算法) 摘要:解题思路:递归算法加记忆化搜索 ```cpp #include using namespace std; #define ll long long int//宏定义long long int …… 题解列表 2022年11月29日 0 点赞 0 评论 785 浏览 评分:9.5
题解 1505(超简单): 蓝桥杯算法提高VIP-单词个数统计 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main(){ string s; getlin…… 题解列表 2022年11月29日 0 点赞 0 评论 277 浏览 评分:8.0
3023: 移动路线(递归算法) 摘要:解题思路:递归加记忆化搜索 ```cpp #include using namespace std; #define ll long long int ll route[100][100] …… 题解列表 2022年11月29日 1 点赞 0 评论 698 浏览 评分:9.9