二级C语言-分段函数 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <iomanip>using namespace std;int main(){ double x,y; cin>…… 题解列表 2021年11月10日 0 点赞 0 评论 269 浏览 评分:0.0
二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <iomanip>using namespace std;int main(){ double m,n; cin>…… 题解列表 2021年11月10日 0 点赞 0 评论 291 浏览 评分:0.0
用字符切片来解决 摘要:解题思路:注意事项:参考代码:n = int(input())x = str(input())m = int(input())print(x[m-1:])…… 题解列表 2021年11月10日 0 点赞 0 评论 288 浏览 评分:0.0
1149管我scanf(“”“”,N)漏了个&,我去 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int N,sum=0,i;scanf("%d",&N); for (i=1;i<=N;i++) { if…… 题解列表 2021年11月10日 0 点赞 0 评论 551 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(Python代码) 摘要:解题思路:用列表来解决,清晰易懂注意事项:参考代码:n = int(input())x = map(int,input().split())m = int(input())list_1 = list(…… 题解列表 2021年11月10日 0 点赞 0 评论 252 浏览 评分:0.0
1001: [编程入门]第一个HelloWorld程序 摘要:解题思路:这题并不是很难,考察细心程度。我们可以先定义一个输出*的函数后调用。注意事项:注意一定要看清题目要求的输出,注意细节,参考代码:#include<stdio.h>void fun(){ fo…… 题解列表 2021年11月10日 0 点赞 1 评论 335 浏览 评分:8.4
用最基础的知识解决这道题 摘要:解题思路:用最基础的方法来求每一位的数字是什么,依次输出就可以了参考代码:#include<iostream>using namespace std;int main(){ int n,a,b,c,d…… 题解列表 2021年11月10日 0 点赞 0 评论 800 浏览 评分:9.9
1140不可投机取巧 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c, d; int i; for (i = 95860 ; i <= 99…… 题解列表 2021年11月10日 0 点赞 0 评论 392 浏览 评分:0.0
[编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ float num; //定义数字,类型为 float 题解列表 2021年11月10日 0 点赞 0 评论 223 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> void statistics(char *str, int *num_char, int *nu…… 题解列表 2021年11月10日 0 点赞 0 评论 302 浏览 评分:0.0