编题的重大bug!!!!!!!!!!!!!!进来看 摘要:解题思路:样例10 1 把自己输出的结果改为99.20就行了。注意事项:参考代码:Scanner c = new Scanner(System.in);double n = c.nextDouble(…… 题解列表 2022年11月13日 0 点赞 1 评论 607 浏览 评分:8.0
输出格式要是%f型不能是整型,%20就是float型 摘要:解题思路:输出格式要是%f型不能是整型,%20就是float型注意事项:输出单位参考代码:#include <stdio.h>int main(){int b,c,d;//a=b作业20,c小测30,…… 题解列表 2022年11月17日 0 点赞 0 评论 514 浏览 评分:8.0
编写题解 2828: 与7无关的数(c语言 摘要:解题思路:一个正整数,如果它能被7整除,或者它的十进制表示法中某一位上的数字为7,则称其为与7相关的数。现求所有小于等于n(n < 100)的与7无关的正整数的平方和。注意事项:①不能被7整除 …… 题解列表 2022年11月17日 0 点赞 2 评论 1211 浏览 评分:8.0
面向结果输出(要脸,别举报) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { printf("cock=0,hen=25,chicken=75\ncock=4,hen=18,chicke…… 题解列表 2022年11月22日 0 点赞 1 评论 808 浏览 评分:8.0
编写题解 2837: 年龄与疾病 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int jibing(int A[100],float n){ int i; float w,x,y,z; for(i=0;i<n;…… 题解列表 2022年11月23日 0 点赞 0 评论 477 浏览 评分:8.0
编写题解 1045: [编程入门]自定义函数之整数处理(讲解比较清晰,至少我认为,含函数与函数之间传参的问题) 摘要:解题思路:通过调用index()函数来查找位置之后通过列表的特点进行交换注意事项:函数参数间的参数的传递参考代码:def shuru(): a=list(map(int,input().spli…… 题解列表 2022年11月26日 0 点赞 0 评论 433 浏览 评分:8.0
简简单单解决-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[100][100]; int brr[100][100]; …… 题解列表 2022年11月27日 0 点赞 0 评论 545 浏览 评分:8.0
2785: 判断一个数能否同时被3和5整除 摘要:解题思路:注意事项:参考代码:import sysa = int(input())if a < -1000000 or a > 1000000: sys.exit() …… 题解列表 2022年11月29日 0 点赞 0 评论 626 浏览 评分:8.0
题解 1505(超简单): 蓝桥杯算法提高VIP-单词个数统计 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main(){ string s; getlin…… 题解列表 2022年11月29日 0 点赞 0 评论 351 浏览 评分:8.0
2901: 查找特定的值 摘要:```cpp #include #include using namespace std; int main() { int m,n,a[10000],i=0; mems…… 题解列表 2022年11月30日 0 点赞 0 评论 472 浏览 评分:8.0