首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
忆秋尘飞
获赞
0
粉丝
0
关注
0
看过 TA
1
男
南京邮电大学
2027
前端工程师
IP属地:江苏
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑忆秋尘飞吗?
发布(34)
评论
刷题
收藏
忆秋尘飞
关注TA,不错过内容更新
关注
2024-07-16 11:02
南京邮电大学 前端工程师
题解 | #牛牛的并联电路#
#include <bits/stdc++.h> using namespace std; int main() { int r1, r2; float r; scanf("%d%d",&r1,&r2); r=float(r1*r2)/(r1+r2); printf("%.1f",r); return 0; }
0
点赞
评论
收藏
分享
2024-07-16 10:51
南京邮电大学 前端工程师
题解 | #牛牛的圆#
#include <bits/stdc++.h> using namespace std; int main() { int r; float s; scanf("%d",&r); s=3.14*r*r; printf("%.2f",s); return 0; }
0
点赞
评论
收藏
分享
2024-07-16 10:46
南京邮电大学 前端工程师
题解 | #温度转换#
#include <bits/stdc++.h> using namespace std; int main() { float f, c; scanf("%f",&f); c=5.0/9.0*(f-32); printf("%.3f",c); return 0; }
0
点赞
评论
收藏
分享
2024-07-16 10:41
南京邮电大学 前端工程师
题解 | #KiKi和酸奶#
#include <stdio.h> int main() { int n, h,m,c; scanf("%d%d%d",&n,&h,&m); if(m%h) c=n-m/h-1; else c=n-m/h; printf("%d\n", c); return 0; }
0
点赞
评论
收藏
分享
2024-07-16 10:30
南京邮电大学 前端工程师
题解 | #计算三角形的周长和面积#
#include <stdio.h> #include<math.h> int main() { unsigned int a, b,c; scanf("%d%d%d",&a,&b,&c); float circumference=a+b+c; float p=0.5*(a+b+c); float area = sqrt(p*(p-a)*(p-b)*(p-c)); printf("circumference=%.2f area=%.2f",circumference,area); return 0; }
0
点赞
评论
收藏
分享
2024-07-16 10:25
南京邮电大学 前端工程师
题解 | #进制A+B#
#include <stdio.h> int main() { long long int a, b; scanf("%X%o",&a,&b); printf("%lld",a+b); return 0; }
0
点赞
评论
收藏
分享
2024-07-16 10:13
南京邮电大学 前端工程师
题解 | #缩短二进制#
#include <bits/stdc++.h> using namespace std; int main() { int a=1234; printf("%#o %#X",a,a); return 0; }
0
点赞
评论
收藏
分享
2024-07-16 09:35
南京邮电大学 前端工程师
题解 | #十六进制转十进制#
#include <bits/stdc++.h> using namespace std; int main() { int b=0; int c=1; for (int i=1;i<=5;i++) { c*=16; b+=c*(15-i); } printf("%15d",b+15); return 0; }
0
点赞
评论
收藏
分享
2024-05-07 21:56
南京邮电大学 前端工程师
题解 | #统计成绩#
#include <bits/stdc++.h> using namespace std; int main() { int n; float sum=0.0; float average,max,min; float arr[101]; scanf("%d",&n); for(int i=1;i<=n;i++) scanf("%f",&arr[i]); for(int i=1;i<=n;i++) sum+=arr[i]; average=sum/n; max=arr[1]; min=arr[1]; for(int...
0
点赞
评论
收藏
分享
2024-05-07 21:44
南京邮电大学 前端工程师
题解 | #牛牛的对齐#
#include <stdio.h> int main() { long long int a, b,c; scanf("%lld%lld%lld",&a,&b,&c); printf("%lld%8lld%8lld",a,b,c); return 0; }
0
点赞
评论
收藏
分享
2024-05-07 21:42
南京邮电大学 前端工程师
题解 | #牛牛的空格分隔#
#include <stdio.h> int main() { long long int a ; float b; char c; scanf("%c",&c); scanf("%lld",&a); scanf("%f",&b); printf("%c %lld %.6f",c,a,b); return 0; }
0
点赞
评论
收藏
分享
2024-04-28 22:07
南京邮电大学 前端工程师
2024.04.28 在牛客打卡1天!
0
点赞
评论
收藏
分享
2024-04-28 22:03
南京邮电大学 前端工程师
题解 | #你能活多少秒#
#include <stdio.h> int main() { int age; long long int a; scanf("%d",&age); a=age*31560000; printf("%lld",a); return 0; }
0
点赞
评论
收藏
分享
2024-04-28 21:59
南京邮电大学 前端工程师
题解 | #2的n次方计算#
#include <stdio.h> int main() { int a,b; scanf("%d",&a); b=1<<a; printf("%d",b); return 0; }
0
点赞
评论
收藏
分享
2024-04-28 21:55
南京邮电大学 前端工程师
题解 | #时间转换#
#include <stdio.h> int main() { int a, b,c,d; scanf("%d",&a); b=a%60; c=(a%3600)/60; d=a/3600; printf("%d %d %d",d,c,b); return 0; }
0
点赞
评论
收藏
分享
1
2
3
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务