c语言3010: 奇偶数之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i = 1; int n; int sum1 = 0; int sum2 = 0; scanf("%d"…… 题解列表 2022年12月01日 0 点赞 0 评论 518 浏览 评分:9.9
(小白板)矩阵交换行 摘要:解题思路:很简单啊,就是一个循环直接做一个交换,但中间要用到一个交换变量 注意事项:就是数组要从1开始输入,而不是从0开始,因为不符合我们数学的常规思想 #include int main…… 题解列表 2022年12月01日 0 点赞 3 评论 1148 浏览 评分:9.9
三位数分解 摘要:注意事项:换行符\n 参考代码: ###### #include using namespace std; int main(){ int a; scanf("%d",&a); …… 题解列表 2022年12月01日 0 点赞 0 评论 759 浏览 评分:9.9
简单题,取每一位的进制为max(max(A[i],B[i])+1,2LL) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>//简单题 using namespace std;#define maxn 1010#define maxma 10001…… 题解列表 2022年12月01日 0 点赞 0 评论 1013 浏览 评分:9.5
最笨的方法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,d,e,f; scanf("%d",&a); if(a>9999){ …… 题解列表 2022年12月01日 0 点赞 2 评论 333 浏览 评分:9.9
基本思路用函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//计算素数和#include<math.h>int isprime(int x){ int i,a; for (i = 2; i <=…… 题解列表 2022年12月01日 0 点赞 0 评论 286 浏览 评分:0.0
1040: [编程入门]实数的打印 最简方法 摘要:解题思路:简单的输入输出问题,首先定义float类型,然后输入,并按要求输出。注意事项:1.由题意输入为float类型,输入scanf注意%f。2.输出部分 “6.2f”格式是指数字整体长度包括小数点…… 题解列表 2022年12月01日 0 点赞 0 评论 512 浏览 评分:9.9
标记法(挺好懂得)(虽然我是菜鸟) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"#include<math.h> int main(){ int x[5][5],i,j; for(i=0;i<5;i++) { fo…… 题解列表 2022年12月01日 0 点赞 0 评论 447 浏览 评分:0.0
废物新人的笨方法 摘要:解题思路:注意事项:参考代码:#include"stdio.h"#include<math.h> int main(){ int n,i,j; scanf("%d%d%d",&n,&i,&j); fo…… 题解列表 2022年12月01日 0 点赞 0 评论 618 浏览 评分:6.0
2789: 骑车与走路 摘要:解题思路:注意事项:参考代码:a = int(input())if a / 3 + 50 < a / 1.2: print('Bike')elif a / 3 + 50 == a…… 题解列表 2022年12月01日 0 点赞 0 评论 580 浏览 评分:9.9