题解 1068: 二级C语言-温度转换 摘要:#include<stdio.h> int ctof(int c) { return 32+c*9/5; } int main() { int i; for(i=-100;…… 题解列表 2021年11月15日 0 点赞 0 评论 822 浏览 评分:0.0
完数的判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ int n,sum,i,k; scanf("%d",&n); for(i=1;i<=n;i++) { sum=0; …… 题解列表 2021年11月15日 0 点赞 0 评论 357 浏览 评分:0.0
1924: 01背包-C++ 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int N;//物品个数 int C;//背包容量 int v[1000],w[1…… 题解列表 2021年11月15日 0 点赞 0 评论 352 浏览 评分:0.0
输入输出练习之精度控制3 摘要:解题思路:没啥好说的了,看得懂就行,看不懂单独问。注意事项:参考代码:#include<stdio.h>int main(){ char c; int i; float b;double a…… 题解列表 2021年11月15日 0 点赞 0 评论 422 浏览 评分:0.0
[编程入门]自定义函数之数字后移 (C++代码) 摘要:解题思路:定义一个新数组,将移动后的数据存入新数组注意事项:参考代码:#include <iostream>using namespace std;int func(int n){ int num[n…… 题解列表 2021年11月16日 0 点赞 0 评论 423 浏览 评分:0.0
三个数字的排序 摘要:解题思路:注意事项:参考代码:int a[3],j,k,l; for(j=0;j<3;j++) scanf("%d",&a[j]); for(j=1;j<3;j++) for(…… 题解列表 2021年11月16日 0 点赞 0 评论 355 浏览 评分:0.0
IP判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int a,b,c,d; int k; char s[10…… 题解列表 2021年11月17日 0 点赞 0 评论 564 浏览 评分:0.0
简单解题法3 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct xinxi { char xuehao[10]; char xingming[10]; int yuw…… 题解列表 2021年11月17日 0 点赞 0 评论 643 浏览 评分:0.0
[编程入门]结构体之成绩记录--------(Python) 摘要:```python n=int(input()) t=[] class sun1: def input(): s=list(map(str,input().split…… 题解列表 2021年11月17日 0 点赞 0 评论 448 浏览 评分:0.0