首页
比赛
题库
课程
竞赛讨论区
登录
/
注册
去牛客
首页
>
兔子的序列
60条解析
开通博客写题解
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) //整数值的平方相等,若是实数
展开全文
查看本题
查看本题讨论
相关比赛
543-牛客OI周赛8-普及组
进入比赛
19859-牛客竞赛语法入门班函数与递归习题
进入比赛
20566-嘉应学院-人工智能赛道练习1
进入比赛
20588-嘉应学院-人工智能赛道练习1(补)
进入比赛
23256-山东工程职业技术大学软件杯预赛
进入比赛
等你来战
查看全部
牛客小白月赛115
报名截止时间:2025-04-25 21:00
牛客周赛 Round 91
报名截止时间:2025-04-27 21:00
2025牛客五一集训派对day1
报名截止时间:2025-05-01 17:00
2025牛客五一集训派对day2
报名截止时间:2025-05-02 17:00
2025牛客五一集训派对day3
报名截止时间:2025-05-03 17:00
2025牛客五一集训派对day4
报名截止时间:2025-05-04 17:00
2025牛客五一集训派对day5
报名截止时间:2025-05-05 17:00
牛客周赛 Round 92
报名截止时间:2025-05-11 21:00
哈尔滨华德学院第十六届程序设计竞赛(同步赛)
报名截止时间:2025-05-13 20:30
扫描二维码,关注牛客
意见反馈
下载牛客APP,随时随地刷题