题解列表

筛选

用switch解题熟悉switch

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x; int n,y; scanf("%d",&x); if(x<1) n = 1; if(x>=1 &……

特殊的质数肋骨

摘要: #include #include #include using namespace std; int isPrime(int n) ……

容易看懂---------------------

摘要:解题思路:注意事项:参考代码:#include "stdio.h"void X(int A[], int k, int n){ int B[100],j=0; j = n - k; for (int ……

谁可以凭借爱意将月亮私有。。

摘要:解题思路:这道题的坑点就是 大的根的数要在前      ,小根数要在后面注意事项:参考代码:#include<cstdio>int main(){ double a,b,c,t; scanf("%lf……

普普通通解法菜 鸡 儿

摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main() { int F=0, E,NEW=0; while (1) { scanf("%d", &E);  if (……

题解 1163: 排队买票

摘要:参考代码:#include<stdio.h>#include<string.h>int jiecheng(int n){    int sum=1;    for(int i=1;i<=n;i++) ……

求圆的面积(Java实现)

摘要:解题思路:注意事项:参考代码:public static void main(String[] args) { Scanner scanner = new Scanner(System.in);……