首页 > 兔子的序列
头像 Zerone·
发表于 2022-05-28 21:03:16
">#include<math.h> int main() { int n, x; scanf("%d\n", &n); int a, max = 0; for (int i = 0; i < n; i++) { scanf( 展开全文
头像 刘肯搏
发表于 2024-10-22 21:53:37
#include<stdio.h> #include<math.h> int main() { int test(int x); int a; scanf("%d",&a); int z; z=test(a 展开全文
头像 威风镰鼬
发表于 2021-06-11 10:01:39
兔子的序列 思路 打表记录1~1000内所有完全平方数,然后在输入序列的时候剔除掉,那么最大的一个数就是答案。 代码 #include<bits/stdc++.h> using namespace std; int main(){ int n,i,ans=0,a[1005],b 展开全文
头像 牛逼博博
发表于 2023-12-20 15:41:09
#include <iostream> #include<cmath> using namespace std; int main() { int a[1001],n,max=0; cin>>n; for(int i=0;i<n;i+ 展开全文
头像 萧容鱼
发表于 2024-03-03 15:28:13
#include <stdio.h> #include <stdlib.h> #include <math.h> int pd(const void* e1,const void* e2) { return (*(int*)e2-*(int*)e1); } 展开全文
头像 简小淼
发表于 2024-12-15 20:48:10
#include <stdio.h> #include<math.h> int main() { int n; int Arr[1000]={0}; int i; int max=0; scanf("%d",& 展开全文
头像 bsdn_n
发表于 2022-08-05 15:22:24
#include<stdio.h>//感觉写的有点复杂,就为了写个函数。。凑合着看吧。。。 int num(int x) {     int a=0;     for(int&n 展开全文
头像 粗心的小白求实习
发表于 2023-08-01 15:17:25
#include <stdio.h> #include <math.h> int main() { int max = 0; int n = 0; scanf("%d",&n); int num = 0; 展开全文
头像 路十一
发表于 2023-12-08 10:14:15
#include<stdio.h> #include<math.h> int is_unsqrt(int x) { int tmp = 0; tmp = sqrt(x); //开平方再取整数值 if (pow(tmp, 2) != x) //整数值的平方相等,若是实数 展开全文
头像 路十一
发表于 2023-12-08 10:14:53
#include<stdio.h> #include<math.h> int is_unsqrt(int x) { int tmp = 0; tmp = sqrt(x); //开平方再取整数值 if (pow(tmp, 2) != x) //整数值的平方相等,若是实数 展开全文