密码破译题解(钻程序漏洞)(最简洁)(空间最小)(C++版) 摘要:解题思路:黑盒测试,只需猜中测试点即可。参考代码:#include<iostream>using namespace std;int main(){printf("%s","Glmre");}…… 题解列表 2023年02月02日 0 点赞 0 评论 618 浏览 评分:3.6
最简单的方法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define a 9//定义数组长度 int main (){ int max[a]={0}; int i; for(i=0;i<a…… 题解列表 2023年02月02日 0 点赞 0 评论 484 浏览 评分:0.0
1251: 统计字母个数 ```cpp#includeusingnamespacestd;inta[123];intmain(){strings;intl=0,sum=0;while(getline(cin,s)){l=s.size();for(inti=0;i 题解列表 2023年02月02日 0 点赞 0 评论 761 浏览 评分:9.9
亲和数(水题) ```c#includelonglongf(intn){longlongi,sum=0;for(i=1;i 题解列表 2023年02月02日 0 点赞 0 评论 547 浏览 评分:0.0
python最大配对简单解法 摘要:B=[]n=int(input())A=list(map(int,input().split()))A.sort() #正序排序(小到大)b=list(map(int,input().split()…… 题解列表 2023年02月02日 0 点赞 0 评论 518 浏览 评分:0.0
使用选择法排序字符串 ```c#include#includeintmain(){chara[3][100];for(inti=0;i 题解列表 2023年02月02日 0 点赞 0 评论 616 浏览 评分:0.0
判断一个数能否同时被3和5整除 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x; scanf("%d",&x); if(x%3==0&&x%5==0) printf("Y…… 题解列表 2023年02月02日 0 点赞 0 评论 488 浏览 评分:0.0
递归写法,分子分母拆分成2组斐波那锲数列 摘要:#include<stdio.h> int Fun(int n) { if (n==1) { return 1; } if (n==2) { return 2; …… 题解列表 2023年02月02日 0 点赞 0 评论 505 浏览 评分:0.0
1250: 素数回文 ```cpp#includeusingnamespacestd;boola[100001000];intmain(){longlongn1,n2,t=0,t1,t2=0;cin>>n1>>n2;for(inti=2;i 题解列表 2023年02月02日 0 点赞 0 评论 571 浏览 评分:9.9
结构体之时间设计C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>struct date{ int year; int month; int d…… 题解列表 2023年02月02日 0 点赞 0 评论 497 浏览 评分:0.0