[编程入门]选择排序 c语言 摘要:解题思路:注意事项:参考代码: #include<stdio.h> int main() { int i,t,j,n; int array[10]; for(n=0;n<10;n++){ …… 题解列表 2021年07月19日 0 点赞 0 评论 348 浏览 评分:4.0
c++语言1011题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std ;int main(){ int t = 1 ;//取余计算的余数,赋值为1是为了方便进…… 题解列表 2021年09月24日 0 点赞 0 评论 704 浏览 评分:4.0
1135: C语言训练-求s=a+aa+aaa+aaaa+aa...a的值-题解(python) 摘要:解题思路:注意事项:参考代码:a,n = map(str,input().split())s = 0for i in range(1,int(n)+1): s += int(a*i)print(…… 题解列表 2021年10月22日 0 点赞 0 评论 833 浏览 评分:4.0
二级C语言-计负均正(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a=0,s[20]; //数组储存20个整数 float x,sum=0; for(int i=…… 题解列表 2021年11月14日 0 点赞 0 评论 436 浏览 评分:4.0
编写题解 1162: 密码(C++) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { int …… 题解列表 2021年11月16日 0 点赞 0 评论 527 浏览 评分:4.0
哎哟我去海盗狗 摘要:#include <stdio.h> int main() { int a[100], b[100] = { 0 }, n, k = 0; scanf_s("%d", &n); for…… 题解列表 2021年11月26日 0 点赞 0 评论 522 浏览 评分:4.0
剪刀石头布 摘要:解题思路:利用if进行枚举,其余情况输出0注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; …… 题解列表 2021年11月28日 0 点赞 0 评论 815 浏览 评分:4.0
跟着思路写就好了 摘要:#include <stdio.h> int main() { float score; int dydy85=0,dydy60=0,xy60=0; scanf("%…… 题解列表 2021年12月02日 0 点赞 3 评论 767 浏览 评分:4.0
2551.:作文 python 、90%错误的可以看一看! 摘要:### 思路 思路很简单就是用count去记录行数,cur_line_num 去记录当前行是写到第几个了。 对于一个新单词来说,如果( 这个单词长度 + cur_line_num )不超过每行最大…… 题解列表 2021年12月11日 0 点赞 0 评论 420 浏览 评分:4.0
2007: 计算输入数据的和与乘积 摘要:解题思路:注意事项:参考代码:n = input() h=0 s=1 for i in n: h += int(i) s *= int(i) print(h,s)…… 题解列表 2022年01月05日 0 点赞 0 评论 554 浏览 评分:4.0