首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
头疼的CPP程序媛
中控技术_系统测试部_测试开发实习生(实习员工)
获赞
4
粉丝
3
关注
43
看过 TA
99
男
门头沟学院
2026
C++
IP属地:浙江
双非一本
私信
关注
拉黑
举报
举报
确定要拉黑头疼的CPP程序媛吗?
发布(137)
评论
刷题
收藏
头疼的CPP程序媛
关注TA,不错过内容更新
关注
2023-04-27 23:08
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #判断是元音还是辅音#
#include <stdio.h> int main() { char FAL=0; while(scanf("%c",&FAL)!=EOF) { getchar();//吸收'\n' if(FAL=='a'||FAL=='A'||FAL=='E'||FAL=='e'||FAL=='O'||FAL=='o'||FAL=='U'||FAL=='u'||FAL=='I'||FAL=='i') { printf("Vowel\n"); } else { printf("Consonant\n"); } } return 0; }
0
点赞
评论
收藏
分享
2023-04-27 22:59
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #牛牛的线段#
#include <stdio.h> #include<math.h> int main() { int a=0; int b=0; int c=0; int d=0; scanf("%d %d %d %d",&a,&b,&c,&d); int ret=pow((c-a),2)+pow((d-b),2); printf("%d",ret); return 0; }
0
点赞
评论
收藏
分享
2023-04-27 22:41
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #牛牛的线段#
#include <stdio.h> int main() { int a=0; int b=0; int c=0; int d=0; scanf("%d %d %d %d",&a,&b,&c,&d); int ret=(c-a)*(c-a)+(d-b)*(d-b); printf("%d",ret); return 0; }
0
点赞
评论
收藏
分享
2023-04-26 23:04
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #牛牛的等差数列#
#include <stdio.h> int main() { int a=0; int b=0; scanf("%d %d",&a,&b); printf("%d",b+(b-a)); return 0; }
0
点赞
评论
收藏
分享
2023-04-26 23:03
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #牛牛的圆#
#include <stdio.h> #define pi 3.14 int main() { int r=0; scanf("%d",&r); printf("%.2f",pi*r*r); return 0; }
0
点赞
评论
收藏
分享
2023-04-26 23:00
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #整数的十位#
#include <stdio.h> int main() { int a=0; scanf("%d",&a); printf("%d",(a/10)%10); return 0; }
0
点赞
评论
收藏
分享
2023-04-26 22:59
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #整数的个位#
#include <stdio.h> int main() { int a=0; scanf("%d",&a); printf("%d",a%10); return 0; }
0
点赞
评论
收藏
分享
2023-04-26 22:58
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #牛牛买电影票#
#include <stdio.h> int main () { int a=0; scanf("%d",&a); printf("%d\n",a*100); return 0; }
0
点赞
评论
收藏
分享
2023-04-26 22:54
中控技术_系统测试部_测试开发实习生(实习员工)
2023-04-26
在牛客打卡18天,今天学习:刷题 2 道/代码提交 2 次
0
点赞
评论
收藏
分享
2023-04-26 22:44
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #大小写转换#
#include <stdio.h> int main() { char a=0; while(scanf("%c",&a)!=EOF) { getchar(); printf("%c",a+32); printf("\n"); } return 0; }
0
点赞
评论
收藏
分享
2023-04-26 22:36
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #学生基本信息输入输出#
#include <stdio.h> int main() { int a; double b,c,d; scanf("%d;%lf,%lf,%lf",&a,&b,&c,&d); b=(int)(b*100+0.5)/100.0; printf("The each subject score of No. %d is %.2lf, %.2lf, %.2lf.",a,b,c,d); return 0; }
0
点赞
评论
收藏
分享
2023-04-25 13:42
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #带空格直角三角形图案#
#include<stdio.h> int main(){ int a; while(scanf("%d",&a)!=EOF){ int i,k; for(k=0;k<a;k++){ for(i=0;i<(a-k-1);i++){ printf(" "); } for(i=0;i<=k;i++){ printf("* "); } printf("\n"); } } return 0; }
0
点赞
评论
收藏
分享
2023-04-25 13:40
中控技术_系统测试部_测试开发实习生(实习员工)
2023-04-25
在牛客打卡17天,今天学习:刷题 5 道/代码提交 9 次
0
点赞
评论
收藏
分享
2023-04-25 13:35
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #反斜线形图案#
#include <stdio.h> int main() { int n=0; while(scanf("%d",&n)!=EOF) { for(int j=0;j<n;j++) { if(j==0) { printf("*\n"); } else { for(int i=0;i<j;i++) { printf(" "); } printf("*\n"); } } } return 0; }
0
点赞
评论
收藏
分享
2023-04-25 13:24
中控技术_系统测试部_测试开发实习生(实习员工)
题解 | #正斜线形图案#
#include <stdio.h> int main() { int n=0; while( scanf("%d",&n)!=EOF) { int i=0; for(i=0;i<n;i++) { for(int j=0;j<n-i-1;j++) { printf(" "); } printf("*"); printf("\n"); } } return 0; }
0
点赞
评论
收藏
分享
1
4
5
6
7
8
10
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客企业服务