2755: 类型转换1 摘要:解题思路:有两个变量a和b,在执行了如下代码后:a =32768;b =a;printf("%d %d\n",a,b);输出两个数:32768 -32768请问a和b分别是以下哪种类型?A. bool…… 题解列表 2022年11月20日 2 点赞 0 评论 2100 浏览 评分:9.3
c语言 小白也能看懂 摘要:解题思路:分别设置1,5,10的计数器,每输入一个数,判断是否是1、5、10,如果是,相应的计数器加一注意事项:无参考代码:#include<stdio.h>int main(){ int k,…… 题解列表 2022年11月20日 0 点赞 0 评论 484 浏览 评分:9.3
基础入门)带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d ",a/b)…… 题解列表 2022年11月20日 0 点赞 0 评论 1003 浏览 评分:9.3
小白基础版)杨辉三角 摘要:解题思路:基本操作注意事项:参考代码:#include<stdio.h>int deal(int n);int main(){ int a; while(scanf("%d",&a)!=E…… 题解列表 2022年11月21日 0 点赞 0 评论 480 浏览 评分:9.3
2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:import mathx1,y1,x2,y2,x3,y3 = map(float,input().strip().split())a = math.sqrt((x1 - …… 题解列表 2022年11月26日 0 点赞 0 评论 767 浏览 评分:9.3
矩阵转换(矩阵转换) 摘要:解题思路:将原先的m行n列,变为n行m列。感谢大佬的思路,我真是个天才注意事项:参考代码:#includeint main(){ int i,j,m,n; int a[500][500]; scanf…… 题解列表 2022年11月27日 0 点赞 0 评论 529 浏览 评分:9.3
编写题解 2796: 求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int i = 0; int m; long int sum = 0; double ave…… 题解列表 2022年12月03日 0 点赞 0 评论 847 浏览 评分:9.3
[编程入门]Sn的公式求和 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; cin>>n; int Sn=0; …… 题解列表 2022年12月09日 0 点赞 0 评论 374 浏览 评分:9.3
三目运算整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); if(a==b) print…… 题解列表 2022年12月12日 0 点赞 0 评论 677 浏览 评分:9.3
甲流病人初筛 摘要:解题思路:注意事项:参考代码:#includestruct pepole{ char name[200]; float t; char number;}a[200];in…… 题解列表 2022年12月31日 0 点赞 3 评论 588 浏览 评分:9.3