2222 666cyuyan C语言可以的 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ char ch=getchar(); ch+=32; putchar(ch); return 0; }…… 题解列表 2021年11月04日 0 点赞 0 评论 223 浏览 评分:0.0
随便写的方法,只关注结果了 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <algorithm>#include <string>#include <sstream>using name…… 题解列表 2021年11月04日 0 点赞 0 评论 400 浏览 评分:0.0
适合新手理解的c++ 摘要:#include<iostream>using namespace std;int main(){ int i,j; int n; cin>>n; for(i=2;i<=n;i++)//先列出所有数,…… 题解列表 2021年11月04日 0 点赞 0 评论 532 浏览 评分:0.0
自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码: def yue(a,b): min =(a<b and a or b) i=min while i>0: if a%i==0 and…… 题解列表 2021年11月04日 0 点赞 1 评论 648 浏览 评分:9.9
C++ STL Vector + 二分查找 摘要:解题思路: lower_bound:查找第一个大于或等于某个元素的位置。 upper_bound:查找第一个大于某个元素的位置。代码:#include<bits/stdc++.h> us…… 题解列表 2021年11月04日 0 点赞 1 评论 804 浏览 评分:9.9
计算球体积优质题解 摘要:2021-11-04解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define pa 3.1415926525int main(){ doubl…… 题解列表 2021年11月04日 0 点赞 0 评论 442 浏览 评分:9.9
绝对值排序优质题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,i,j,k=0,a[105]; while(scanf("%…… 题解列表 2021年11月04日 0 点赞 0 评论 146 浏览 评分:0.0
二级C语言-求偶数和 与运算求奇偶 摘要:解题思路: 奇数 & 1 = 1 偶数 & 1 = 0 因为偶数的二进制第一位一定是0,所以可以运用按位与运算(&),判断完直接丢弃,进行黑盒操作参考代码:#include<bits/…… 题解列表 2021年11月04日 0 点赞 0 评论 217 浏览 评分:9.0
1954-话费计算,简单易懂(C++) 摘要:解题思路:列出关于通话分钟和话费的函数,进行求解注意事项:基础知识的应用参考代码:#include<stdio.h>int main(){ int x; float y; scanf("%d",&x)…… 题解列表 2021年11月04日 0 点赞 0 评论 540 浏览 评分:9.9
#三位数的排序 摘要:解题思路:求出max,min,middle,在进行排序注意事项:基础知识的应用参考代码:#include<stdio.h>int main(){ int a,b,c,max,min,middle; s…… 题解列表 2021年11月04日 0 点赞 0 评论 458 浏览 评分:9.9