初学者结构体没学用其他简单方法做的,谁都可以看懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 }; int…… 题解列表 2023年11月19日 0 点赞 0 评论 209 浏览 评分:9.0
1101: 循环c语言解题 摘要:解题思路:文本乘法确保高精度注意事项:之前搜索到的优秀答案是错的,比如9 2输入是有解的参考代码:#include <stdio.h>#include <string.h>void muti1(int…… 题解列表 2023年11月19日 1 点赞 0 评论 725 浏览 评分:6.0
2808: 买房子 摘要:解题思路:注意事项:参考代码:n,k = map(int,input().split())year=0money=200k=k*0.01for i in range(1,22): if i>20:…… 题解列表 2023年11月19日 0 点赞 0 评论 256 浏览 评分:0.0
救援(总时间) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,x,y,num; double distance; double t…… 题解列表 2023年11月19日 1 点赞 0 评论 188 浏览 评分:0.0
优质题解 尼科彻斯定理(c语言) 摘要:问题1:m 个连续奇数之和的形式输出这题还是比较明显的,可以看到从第一个奇数开始,后面的奇数就只是简单的每次加个2而已。加几个2就是m的事了。可以说已经解决了一个问题。那么现在关键问题就是如何找到这个…… 题解列表 2023年11月19日 0 点赞 0 评论 764 浏览 评分:9.0
[编程入门]二维数组的转置(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3],i,j,t; for(i=0;i<3;i++){ for(j=…… 题解列表 2023年11月19日 0 点赞 0 评论 235 浏览 评分:0.0
好好算就行 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a<=100000)a=a*1/10; else if(a…… 题解列表 2023年11月19日 0 点赞 0 评论 202 浏览 评分:9.9
C语言,结构数组 摘要:解题思路:呃,懒得写了参考代码:#include <stdio.h>typedef struct student{ char number[10]; char name[10]; c…… 题解列表 2023年11月19日 0 点赞 0 评论 223 浏览 评分:0.0
题解 1001: [编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:别忘记用endl换行和少打*!参考代码: #include <bits/stdc++.h>//万能头文件 using namespace std;int mai…… 题解列表 2023年11月19日 0 点赞 0 评论 198 浏览 评分:0.0
题解:2752:整型数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int x; short a; co…… 题解列表 2023年11月19日 0 点赞 0 评论 502 浏览 评分:9.9