首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
L不会认输
获赞
0
粉丝
0
关注
0
看过 TA
0
湖北工程学院新技术学院
2027
Python
IP属地:河南
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑L不会认输吗?
发布(23)
评论
刷题
收藏
L不会认输
关注TA,不错过内容更新
关注
2024-02-24 09:57
湖北工程学院新技术学院 Python
题解 | #开学?#
#include <stdio.h> int main() { int a,b; #a为开学日期,b为延迟时间 scanf("%d %d",&a,&b); int c; #新的开学时间 if(a+b<7) { printf("%d",a+b); } else { if((a+b)>7 && (a+b)%7!=0) { printf("%d",(a+b)%7); } if((a+b)>7 && (a+b)%7==0) { c=7; printf("%...
0
点赞
评论
收藏
分享
2024-02-23 20:24
湖北工程学院新技术学院 Python
题解 | #整数的十位#
#include <stdio.h> int main() { int a, b; scanf("%d",&a); if(a<10) { b = 0; printf("%d",b); } if(a>10 ) { b=a/10%10; #直接除以10消掉个位数,然后取余。 printf("%d",b); } return 0; }
0
点赞
评论
收藏
分享
2024-02-23 20:02
湖北工程学院新技术学院 Python
题解 | #计算带余除法#
#include <stdio.h> int main() { int a,b; 0<a,b<10000; scanf("%d %d",&a,&b); int c=a/b; int d=a%b; printf("%d %d",c,d); return 0; }
0
点赞
评论
收藏
分享
2024-02-23 19:29
湖北工程学院新技术学院 Python
题解 | #浮点数的个位数字#
#include <stdio.h> int main() { float a; a>0 ||a<=200; scanf("%f",&a); int b = (int)a; int c; if(b>=100) { c=(b-100)%10; printf("%d",c); } else { c=b%10; printf("%d",c); } return 0; }
0
点赞
评论
收藏
分享
2024-02-23 19:19
湖北工程学院新技术学院 Python
题解 | #牛牛学除法#
#include <stdio.h> int main() { int a, b; scanf("%d %d",&a,&b); printf("%d",a/b); return 0; }
0
点赞
评论
收藏
分享
2024-02-23 19:17
湖北工程学院新技术学院 Python
题解 | #牛牛学加法#
#include <stdio.h> int main() { int a, b; a>=0,b<=1000; scanf("%d %d ",&a,&b); printf("%d ",a+b); return 0; }
0
点赞
评论
收藏
分享
2024-02-23 19:16
湖北工程学院新技术学院 Python
题解 | #进制A+B#
#include <stdio.h> int main() { int a, b; scanf("%X %o",&a,&b); printf("%d",a+b); return 0; }
0
点赞
评论
收藏
分享
2024-02-23 16:15
湖北工程学院新技术学院 Python
题解 | #按照格式输入并交换输出#
#include <stdio.h> int main() { int a,b,temp; scanf("a=%d,b=%d",&a,&b); temp=a; a=b; b=temp; printf("a=%d,b=%d",a,b); return 0; }
0
点赞
评论
收藏
分享
1
2
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务