1033: [编程入门]自定义函数之字符提取简单代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000]; int i,b; scanf(…… 题解列表 2022年11月02日 0 点赞 1 评论 275 浏览 评分:0.0
绝对值排序 代码少 摘要:while True: try: print(' '.join(sorted(input().split()[1:],key=lambda x:abs(int(x)…… 题解列表 2022年11月02日 0 点赞 0 评论 436 浏览 评分:0.0
A+B for Input-Output Practice (II) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n; scanf("%d",&n); for(int i=0;i<n;i++)…… 题解列表 2022年11月02日 0 点赞 0 评论 457 浏览 评分:0.0
A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d %d",&a,&b)!=EOF) { …… 题解列表 2022年11月02日 0 点赞 0 评论 335 浏览 评分:0.0
敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char a[200]; gets (a);…… 题解列表 2022年11月02日 0 点赞 0 评论 407 浏览 评分:0.0
A+B for Input-Output Practice (IV) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],n,i,sum; while((scanf("%d",&n)!=EOF)&&(…… 题解列表 2022年11月02日 0 点赞 0 评论 362 浏览 评分:0.0
奇数单增序列 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string.h> using namespace std; int main() { in…… 题解列表 2022年11月02日 0 点赞 0 评论 338 浏览 评分:0.0
C++超级简单的基础题解 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int sum = 1; int n; while …… 题解列表 2022年11月02日 0 点赞 0 评论 359 浏览 评分:0.0
新手上路,通俗易懂,就是麻烦 摘要:# MarkDown编辑器基本使用说明 #include #include int main() { long long n, a, c, d, e, f; long long …… 题解列表 2022年11月03日 0 点赞 0 评论 423 浏览 评分:0.0
完数的判断 c语言只用for循环和if语句实现 无数组无指针 摘要:解题思路:用最原始的方法,在只学到控制语句、循环语句的条件下,使用双循环,外层j循环寻找完数,内层i循环寻找因子,并使用新循环输出因子参考代码:#include<stdio.h>int main(){…… 题解列表 2022年11月03日 0 点赞 0 评论 492 浏览 评分:0.0