首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
头疼的CPP程序媛
中控技术_系统测试部_测试开发实习生(实习员工)
获赞
4
粉丝
3
关注
43
看过 TA
99
男
门头沟学院
2026
C++
IP属地:浙江
双非一本
私信
关注
拉黑
举报
举报
确定要拉黑头疼的CPP程序媛吗?
发布(137)
评论
刷题
收藏
头疼的CPP程序媛
关注TA,不错过内容更新
关注
2023-05-07 21:42
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #牛牛的二三七整除#
#include <stdio.h> int main() { int i=0; scanf("%d",&i); if(i%2==0||i%3==0||i%7==0) { if(i%2==0) { printf("%d ",2); } if(i%3==0) { printf("%d ",3); } if(i%7==0) { printf("%d ",7); } } else { { printf("%c",'n'); } } return 0; }
0
点赞
评论
收藏
分享
2023-05-07 21:35
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #健康评估#
#include <stdio.h> int main() { float b=0; float h=0; scanf("%f %f",&b,&h); float BMI=b/pow(h,2); if(BMI>=18.5&&BMI<=23.9) { printf("Normal"); } else { printf("Abnormal"); } return 0; }
0
点赞
评论
收藏
分享
2023-05-06 09:44
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #乘法表#
#include <stdio.h> int main() { int i=0; int j=0; for(i=1;i<10;i++) { for(j=1;j<=i;j++) { printf("%d*%d=%2d ",j,i,i*j); } printf("\n"); } return 0; }
0
点赞
评论
收藏
分享
2023-05-06 00:02
中控技术_系统测试部_测试开发实习生(实习员工)
2023-05-06
在牛客打卡27天,今天也很努力鸭!
0
点赞
评论
收藏
分享
2023-05-05 22:52
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #及格分数#
#include <stdio.h> int main() { int s=0; while(scanf("%d",&s)!=EOF) { if(s>=0&&s<=100) { if(s>=60) { printf("Pass\n"); } else { printf("Fail\n"); } } } return 0; }
0
点赞
评论
收藏
分享
2023-05-05 22:48
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #获得月份天数#
#include <stdio.h> int main() { int y=0; int m=0; while( scanf("%d %d",&y,&m)!=EOF) { if(((y%4==0)&&(y%100!=0))||(y%400==0)) { switch(m) case 2: printf("%d\n",29); } else { switch(m) case 2: printf("%d\n",28); } switch(m) { case 1: case 3: case 5: case 7: case 8: case 10: case 12: printf("%d\n...
0
点赞
评论
收藏
分享
2023-05-05 22:30
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #牛牛的一周#
#include <stdio.h> int main() { int a; scanf("%d",&a); switch(a) { case 1:printf("Monday");break; case 2:printf("Tuesday");break; case 3:printf("Wednesday");break; case 4:printf("Thursday");break; case 5:printf("Friday");break; case 6:printf("Saturday");break; case 7:printf("Sunday"); } return...
0
点赞
评论
收藏
分享
2023-05-05 22:21
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #牛牛的通勤#
#include <stdio.h> int main() { int s=0; scanf("%d",&s); float w=(float)s; float v=10+s/10; if(w<v) { printf("w"); } else { printf("v"); } return 0; }
0
点赞
评论
收藏
分享
2023-05-04 23:14
中控技术_系统测试部_测试开发实习生(实习员工)
2023-05-04
在牛客打卡26天,今天也很努力鸭!
0
点赞
评论
收藏
分享
2023-05-03 23:46
中控技术_系统测试部_测试开发实习生(实习员工)
2023-05-03
在牛客打卡25天,今天也很努力鸭!
0
点赞
评论
收藏
分享
2023-05-02 23:37
中控技术_系统测试部_测试开发实习生(实习员工)
2023-05-02
在牛客打卡24天,今天学习:刷题 1 道/代码提交 5 次
0
点赞
评论
收藏
分享
2023-05-02 23:31
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #牛牛的水杯#
#include <stdio.h> #define pi 3.14 #include<math.h> int main() { int r, h; scanf("%d %d",&h,&r); float v=pi*h*pow(r,2); int ret=10000/v; if(ret*v!=10000) ret++; printf("%d",ret); return 0; }
0
点赞
评论
收藏
分享
2023-05-01 21:38
中控技术_系统测试部_测试开发实习生(实习员工)
2023-05-01
在牛客打卡23天,今天学习:刷题 2 道/代码提交 3 次
0
点赞
评论
收藏
分享
2023-05-01 21:35
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #统计数据正负个数#
#include <stdio.h> int main() { int arr[10]={0}; int ret=0; int sum=0; for(int i=0;i<10;i++) { scanf("%d",&arr[i]); } for(int j=0;j<10;j++) { if(arr[j]<0) { ret++; } else { sum++; } } printf("positive:%d",sum); printf("\nnegative:%d",ret); return 0; }
0
点赞
评论
收藏
分享
2023-05-01 21:28
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #四季#
#include <stdio.h> int main() { int year=0; int mou=0; scanf("%4d %2d",&year,&mou); if(mou<=12) { if(mou>=3&&mou<=5) { printf("spring\n"); } else if(mou>=6&&mou<=8) { printf("summer\n"); } else if(mou>=9&&mou<=11) { printf("autumn\n"); } else { printf("winter\n"); } } retu...
0
点赞
评论
收藏
分享
1
2
3
4
5
6
10
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客企业服务