用switch解题熟悉switch 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x; int n,y; scanf("%d",&x); if(x<1) n = 1; if(x>=1 &…… 题解列表 2021年07月22日 0 点赞 0 评论 630 浏览 评分:0.0
特殊的质数肋骨 摘要: #include #include #include using namespace std; int isPrime(int n) …… 题解列表 2021年07月22日 0 点赞 0 评论 417 浏览 评分:0.0
用条件运算符简单写出结果 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(){ int score; char grade; scanf("%d",&score); grade = score>…… 题解列表 2021年07月22日 0 点赞 0 评论 415 浏览 评分:0.0
容易看懂--------------------- 摘要:解题思路:注意事项:参考代码:#include "stdio.h"void X(int A[], int k, int n){ int B[100],j=0; j = n - k; for (int …… 题解列表 2021年07月22日 0 点赞 0 评论 314 浏览 评分:0.0
谁可以凭借爱意将月亮私有。。 摘要:解题思路:这道题的坑点就是 大的根的数要在前 ,小根数要在后面注意事项:参考代码:#include<cstdio>int main(){ double a,b,c,t; scanf("%lf…… 题解列表 2021年07月22日 0 点赞 0 评论 416 浏览 评分:0.0
题解 1094: 字符串的输入输出处理 摘要:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[1001]; int n; scanf("%d",&n); …… 题解列表 2021年07月23日 0 点赞 0 评论 394 浏览 评分:0.0
普普通通解法菜 鸡 儿 摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main() { int F=0, E,NEW=0; while (1) { scanf("%d", &E); if (…… 题解列表 2021年07月23日 0 点赞 0 评论 346 浏览 评分:0.0
题解 1163: 排队买票 摘要:参考代码:#include<stdio.h>#include<string.h>int jiecheng(int n){ int sum=1; for(int i=1;i<=n;i++) …… 题解列表 2021年07月24日 0 点赞 0 评论 584 浏览 评分:0.0
求圆的面积(Java实现) 摘要:解题思路:注意事项:参考代码:public static void main(String[] args) { Scanner scanner = new Scanner(System.in);…… 题解列表 2021年07月24日 0 点赞 0 评论 699 浏览 评分:0.0
函数调用不用if解决三个数的最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int max(int a,int b){ return a > b? a:b; }int main(){ int a,b,…… 题解列表 2021年07月25日 0 点赞 0 评论 726 浏览 评分:0.0