[编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\n"); printf("He…… 题解列表 2023年10月28日 0 点赞 0 评论 245 浏览 评分:0.0
最简单写法c++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int h = 1189; int t = h; int w = 84…… 题解列表 2023年10月28日 1 点赞 0 评论 438 浏览 评分:0.0
字符串比较! 摘要:#include<stdio.h>#include <string.h>int main(){ char c[100],q[100]; scanf("%s",c); scanf("%s",…… 题解列表 2023年10月28日 0 点赞 0 评论 757 浏览 评分:9.9
题解 1808: [编程基础]输入输出练习之精度控制1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; pr…… 题解列表 2023年10月28日 0 点赞 0 评论 867 浏览 评分:9.9
题解 2765: 计算分数的浮点数值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b; cin>>a>>b; …… 题解列表 2023年10月28日 0 点赞 0 评论 694 浏览 评分:9.9
[编程入门]自定义函数之字符串拷贝 STL大法 摘要: 参考代码: #include <iostream> using namespace std; string x; int n,k; int main() { cin>>n>>…… 题解列表 2023年10月28日 1 点赞 0 评论 309 浏览 评分:0.0
数组求解与指定数字相同的数的个数 摘要:解题思路:首先数组a存储数字,100就代表整数序列最大为100,两个变量n,m表示整数序列的长度(N <= 100)和指定的数字, 其次一个for循环读取数字,并存到数组a…… 题解列表 2023年10月28日 0 点赞 0 评论 580 浏览 评分:9.9
水仙花数判断C代码记录 摘要:解题思路:注意事项:参考代码:本人代码#include<stdio.h> int main() { int h,d,u; for(h=1;h<10;h++) …… 题解列表 2023年10月28日 0 点赞 0 评论 306 浏览 评分:0.0
在原数组中搜索能互质的数---在剩下的数中搜索能互质的数 摘要: n=int(input()) b=list(map(int,input().split())) def gcd(a,b): if a%b == 0: return …… 题解列表 2023年10月28日 0 点赞 0 评论 309 浏览 评分:0.0
[编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c1,c2,c3,c4,c5; scanf("%c%c%c%c%c",&c1,&c2,&c…… 题解列表 2023年10月28日 0 点赞 0 评论 331 浏览 评分:0.0