欧式法求素数 摘要:import java.util.*; public class Main{ // static BufferedReader bf=new BufferedReader(new InputS…… 题解列表 2022年05月05日 0 点赞 0 评论 886 浏览 评分:9.9
[编程入门]温度转换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std ;int main(){ float f ; cin>>f ; f…… 题解列表 2022年05月05日 0 点赞 0 评论 544 浏览 评分:0.0
[编程入门]密码破译有惊喜 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout <<"Glmre"; return 0…… 题解列表 2022年05月05日 0 点赞 0 评论 524 浏览 评分:0.0
[编程入门]打印图案 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<" *\n * *\n*****"; …… 题解列表 2022年05月05日 0 点赞 0 评论 480 浏览 评分:0.0
蓝桥杯算法训练VIP-字符串编辑 (C++ stl string代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;void test01() { string str; get…… 题解列表 2022年05月05日 0 点赞 0 评论 571 浏览 评分:9.9
循环题要找得到flag位置 解题思路:报数,报到3就排除,所以创建一个n的boolean类型数组,计入count,如果count%3==0,那么就是报到3的那个人注意事项:好简单好简单,我不想说啦!!!可能要注意的一个地方就是,当for循环中,可能会在一次对整个数组的循环删去的数大于n-1, 题解列表 2022年05月05日 0 点赞 1 评论 570 浏览 评分:9.9
字符串的修改 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define max(x,y) x>y?x:yint fun(char s1[], char s2…… 题解列表 2022年05月05日 0 点赞 0 评论 543 浏览 评分:0.0
虽是简单题,但注意两个陷阱 解题思路:没什么思路,保存最小值和最大值坐标,调换就可以,很简单的一道题注意事项:问题在这里:如果最小值是最后一个坐标,最大值是第一个坐标,那么会相同的坐标交换两次,也就是没有交换,所以这里可以判段一下,只交换一次如果最大值在第0个坐标,最小值在第i个坐标, 题解列表 2022年05月05日 0 点赞 0 评论 589 浏览 评分:9.9
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:a=[] b=[] c=[] d=[] s=input('') for i in s: if (i >='a' and…… 题解列表 2022年05月05日 0 点赞 0 评论 617 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:a=input('') print(len(a)) for i in a: print(i,end=' ') print(…… 题解列表 2022年05月05日 0 点赞 0 评论 434 浏览 评分:0.0