运用函数筛选N以内素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int isprime(int x){ int i; for(i=2;i<=x-1;i++){ if(x%i=…… 题解列表 2021年03月13日 0 点赞 0 评论 253 浏览 评分:9.9
简单易懂 矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,a[3][3]; for(i=0;i<3;i++){ for(j=0;…… 题解列表 2021年03月13日 0 点赞 0 评论 307 浏览 评分:7.3
python解决舍罕王的失算 摘要:参考代码:# 等比数列 s = (1 - pow(2, 64)) / (1 - 2) # 转字符串 s1 = str(s) # 获取数字几位小数 s2 = int(s1.split('…… 题解列表 2021年03月13日 0 点赞 0 评论 565 浏览 评分:0.0
题解 1135:C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 摘要:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int x; scanf("%d",&x); int y; scanf(…… 题解列表 2021年03月13日 0 点赞 0 评论 193 浏览 评分:0.0
python解决角谷猜想 摘要:参考代码:def JiOu(n): if n % 2 == 0: return 1 else: return 0 n& 题解列表 2021年03月13日 0 点赞 0 评论 326 浏览 评分:0.0
[编程入门]数组插入处理 (C语言代码) 简单易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[9],n,i; for(i=0;i<9;i++){ scanf("%d",…… 题解列表 2021年03月13日 0 点赞 1 评论 203 浏览 评分:9.9
数字逆序输出(C语言代码) 简单易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i; for(i=0;i<10;i++) { scanf("…… 题解列表 2021年03月13日 0 点赞 0 评论 608 浏览 评分:9.9
大量循环不推荐很笨的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i, j, k, n, count = 0; scanf("%d", &n); for (i = 1; …… 题解列表 2021年03月13日 0 点赞 0 评论 272 浏览 评分:0.0
自定义函数处理素数(C语言代码)简单易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int isprime(int x){ int i; for(i=2;i<x;i++) { if(x%i…… 题解列表 2021年03月13日 0 点赞 0 评论 176 浏览 评分:0.0
[编程入门]二维数组的转置(C语言代码)简单易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3],i,j; for(i=0;i<3;i++) { for(…… 题解列表 2021年03月13日 0 点赞 0 评论 223 浏览 评分:0.0