LikeWater - 2701: 蓝桥杯真题-取模(请问有谁知道看错题的痛!一直看成n mod x == m mod y 隔这儿一只写。。。) 摘要:####这是题目:给定 n, m ,问是否存在两个不同的数 x, y 使得 1 ≤ x < y ≤ m 且 n mod x = n mod y 。 ***最后的地方我看成了n mod x = m m…… 题解列表 2023年03月24日 0 点赞 0 评论 776 浏览 评分:6.0
1275: 吹哨传球 摘要:```cpp #include using namespace std; int main() { int n,m; int F[31][31]; scanf(…… 题解列表 2023年03月24日 0 点赞 0 评论 457 浏览 评分:6.0
2902: 输出最高分数的学生姓名 摘要:```cpp #include using namespace std; struct xingming{//结构体,来储存分数和姓名 int k; string l; }…… 题解列表 2023年03月24日 0 点赞 0 评论 513 浏览 评分:9.9
最小公约数--核桃的数量 摘要:a,b,c=map(int,input().split()) s=[] sum=a*b*c for i in range(1,sum+1): if i%a==0 and i%b==0 …… 题解列表 2023年03月24日 0 点赞 0 评论 438 浏览 评分:0.0
编写题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(a>b){ …… 题解列表 2023年03月24日 0 点赞 0 评论 337 浏览 评分:0.0
编写题解 2781: 奇偶ASCII值判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a; scanf("%c",&a); if(a%2==0){ prin…… 题解列表 2023年03月24日 0 点赞 0 评论 399 浏览 评分:8.0
编写题解 2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a%2==0) { p…… 题解列表 2023年03月24日 0 点赞 0 评论 373 浏览 评分:0.0
五位、六位回文数 摘要:n=int(input()) s=[] for i in range(1,10): for j in range(0,10): for k in range(0,10)…… 题解列表 2023年03月24日 1 点赞 0 评论 257 浏览 评分:0.0
编写题解 2779: 输出绝对值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a; scanf("%lf",&a); prin…… 题解列表 2023年03月24日 0 点赞 0 评论 639 浏览 评分:9.9
编写题解 2778: 判断数正负 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N; scanf("%d",&N); if(N>0) { prin…… 题解列表 2023年03月24日 0 点赞 0 评论 337 浏览 评分:0.0