楼上题解太逊了 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n,a,b,tail,head,k[300],q[300][3],p[300…… 题解列表 2023年02月21日 0 点赞 2 评论 501 浏览 评分:6.0
分解因数(暴搜) 解题思路:暴力搜索,满足条件则方案+1参考代码:```cpp#includeusingnamespacestd;#definelllonglongconstintN=1e3+5;intans=0;intn,x;voiddfs(intsum,intpre){if(sum>x)return;if(sum= 题解列表 2023年02月21日 0 点赞 3 评论 759 浏览 评分:7.3
学霸的迷宫 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char c[1007][1007];int vis[1007][1007];int…… 题解列表 2023年02月21日 0 点赞 0 评论 572 浏览 评分:0.0
常规解法 求金币 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,k=0,m=0,sum=0; cin>>n; …… 题解列表 2023年02月21日 0 点赞 0 评论 681 浏览 评分:9.9
结构体之成绩统计2 -解题思路:用两个函数完成输入与输出,具体见代码注释-代码如下:```c#include#includetypedefstructstduent{charid[20];charname[20];intscores1;intscores2;intscores3;}stu;//定义结构体voidinput 题解列表 2023年02月21日 0 点赞 0 评论 658 浏览 评分:9.9
2820: 含k个3的数(python) 摘要:解题思路:注意事项:参考代码:m,k = input().split() y = "NO" if int(m) % 19 == 0 and m.count("3") == int(k): …… 题解列表 2023年02月21日 0 点赞 0 评论 794 浏览 评分:9.9
2819: 数字反转(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) if n < 0: print("-",end = "") n = -n n = str(n)[::-1] …… 题解列表 2023年02月21日 0 点赞 0 评论 652 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:用结构体数组来解决问题注意事项:见代码参考代码:#include <stdio.h>typedef struct student{ char id[20]; char name[20]; i…… 题解列表 2023年02月21日 0 点赞 0 评论 460 浏览 评分:0.0
买图书的小明 摘要:解题思路:注意事项:参考代码:#includeint main(){ double n,m,s; scanf("%lf %lf",&n,&m); s=n-0.8*m; if(n==10&&m==1) …… 题解列表 2023年02月21日 0 点赞 0 评论 648 浏览 评分:0.0
2815: 求特殊自然数(python) 摘要:解题思路:注意事项:参考代码:for a in range(1,7): for b in range(0,7): for c in range(1,7): …… 题解列表 2023年02月21日 0 点赞 1 评论 699 浏览 评分:9.9