6666666666666666666666666666666666666666666666666666666 摘要:不要认为变成那么难,只是有亿点难而已!…… 文章列表 2023年04月08日 0 点赞 1 评论 206 浏览 评分:9.9
输入一个华氏温度,要求输出摄氏温度。 摘要:#include<bits/stdc++.h>using namespace std;int main(){ double f; cin>>f; double c = 5 *(f -…… 文章列表 2023年04月08日 0 点赞 0 评论 338 浏览 评分:7.6
第三次作业————阻值 摘要:对于阻值为r1和r2的电阻,其并联电阻阻值公式计算如下:R = 1/(1/r1 + 1/r2)输入两个电阻阻抗大小,浮点型,以一个空格分开。输出并联之后的阻抗大小,结果保留小数点后2位。样例输入1 2…… 文章列表 2023年04月09日 0 点赞 4 评论 143 浏览 评分:7.3
听说你想要题解:输出字符 摘要:听说你想要题解,来了其实没有题解你还在找还找别找了不要再翻啦你真是一个有毅力的孩子好吧,题解给你:#include <bits/stdc++.h>using namespace std;int mai…… 文章列表 2023年04月15日 0 点赞 3 评论 127 浏览 评分:9.9
输入一个除空格以外的可见字符(保证在函数scanf中可使用格式说明符%c读入),输出其ASCII码。 摘要: #include<iostream>using namespace std;int main(){ char a; cin>>a; cout<<(int)a<<endl; …… 文章列表 2023年04月15日 0 点赞 0 评论 259 浏览 评分:6.4
题解( 打印ASCII码) 摘要:题解,拿走不谢#include<iostream>using namespace std;int main(){ char a; cin>>a; cout<<(int)a<<endl; …… 文章列表 2023年04月15日 0 点赞 0 评论 144 浏览 评分:9.9
题目 2760: 整型与布尔型的转换 摘要:将一个整型变量的值赋给一个布尔型变量,再将这个布尔型变量的值赋给一个整型变量,得到的值是多少?”不知道“”#include<iostream>using namespace std;int main(…… 文章列表 2023年04月15日 0 点赞 0 评论 377 浏览 评分:9.9
各种公式定理 摘要:海伦公式: a,b,c: 三角形的三条边 P = (a+b+c)/2 S = √p*(p-a)*(p-b)*(p-c)勾股定理: a^2 + b^2 = c^…… 文章列表 2023年04月16日 0 点赞 0 评论 191 浏览 评分:9.9
巴什博弈变形题通解 摘要:代码通过洛谷p4018所编写通解只适用于数据比较小的该类型题目该代码只能通过洛谷p4018 30% 其他的会超时#include<bits/stdc++.h> using namespace std…… 文章列表 2023年04月20日 0 点赞 0 评论 205 浏览 评分:0.0
题目 1046: [编程入门]自定义函数之数字后移 摘要:#includevoid zhuanhuan(){ int n,i,m,j; scanf("%d",&n); int a[n]; for(i=0;i<n;i++){ …… 文章列表 2023年04月21日 0 点赞 0 评论 149 浏览 评分:9.9