很简单的思路 有需要可以看看 递归回溯全排列 + 判断 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { static int ans; static int N; publ…… 题解列表 2022年02月15日 0 点赞 0 评论 568 浏览 评分:9.9
题解 2002: 计算数字个数 通俗易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){char a[100];int i,n,j=0;gets(a);n=str…… 题解列表 2022年02月15日 0 点赞 0 评论 326 浏览 评分:0.0
1256: 诡秘的余数 摘要:解题思路:注意事项:参考代码:while True: try: a,b=map(int,input().split()) if a<b: …… 题解列表 2022年02月15日 0 点赞 0 评论 315 浏览 评分:0.0
值域分块题解 摘要:这个有什么用:[[Ynoi2019 模拟赛] Yuno loves sqrt technology II](https://www.luogu.com.cn/problem/P5047) 。 O…… 题解列表 2022年02月15日 0 点赞 0 评论 542 浏览 评分:9.9
编写题解 1251: 统计字母个数 摘要:解题思路:注意事项:参考代码:stri='' while True: try: stg='' sti=map(str,i…… 题解列表 2022年02月15日 0 点赞 0 评论 384 浏览 评分:0.0
集合运算-题解 (Java代码) 摘要:import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public clas…… 题解列表 2022年02月15日 0 点赞 0 评论 432 浏览 评分:9.9
最简单易懂的 摘要:解题思路:注意事项:参考代码:#include <stdio.h> //N为总行数,rows为第几行,打印该行数据void printN(int N, int rows){ int first=1;…… 题解列表 2022年02月15日 0 点赞 0 评论 368 浏览 评分:0.0
[Sapphire]1115:打印DNA图案(思路清晰简单:模块化、仅用一维数组)!!!(C语言代码) 摘要:打印DNA图案Sapphire2022/2/15解题思路:首先我们来看一下输出样例是如何实现。1°a=3,b=1X X XX X我们可以将其拆分为(b=1)X X和一个printf("X X"…… 题解列表 2022年02月15日 0 点赞 0 评论 503 浏览 评分:9.9
编写题解 1250: 素数回文 摘要:解题思路:注意事项:参考代码:def isprime(x): ls=[1,3,7,9] lis=[2,3,5,7] if 1<=x<=10: if x …… 题解列表 2022年02月15日 0 点赞 0 评论 345 浏览 评分:0.0
编写题解 1249: 简单编码 摘要:解题思路:注意事项:参考代码:dic={ 'A': 'I', 'W': 'I', 'F': 'I…… 题解列表 2022年02月15日 0 点赞 0 评论 365 浏览 评分:0.0