首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
温栉童
获赞
0
粉丝
0
关注
0
看过 TA
0
郑州大学
2025
Java
IP属地:河南
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑温栉童吗?
发布(10)
评论
刷题
收藏
温栉童
关注TA,不错过内容更新
关注
2024-06-03 11:26
郑州大学 Java
题解 | #复制部分字符串#
#include <iostream> #include<cstring> using namespace std; int main() { char str[30] = { 0 }; cin.getline(str, sizeof(str)); int m; cin >> m; int len=strlen(str); for(int i=m-1;i<len;i++){ cout<<str[i]; } // write your code here...... return 0; }
0
点赞
评论
收藏
分享
2024-06-03 11:18
郑州大学 Java
题解 | #获取字符串长度#
#include <iostream> #include<cstring> using namespace std; int main() { char str[100] = { 0 }; cin.getline(str, sizeof(str)); // write your code here...... int len = strlen(str); cout << len; return 0; }
0
点赞
评论
收藏
分享
2024-06-03 11:02
郑州大学 Java
题解 | #结构体简单使用#
#include <iostream> #include <string> using namespace std; struct student { // write your code here...... string name; int age; float height; }; int main() { struct student student1; cin>>student1.name; cin>>student1.age; cin>>student1.height; cout<<student1.name&...
0
点赞
评论
收藏
分享
2024-06-03 10:47
郑州大学 Java
题解 | #C++选择排序#
#include <iostream> using namespace std; int main() { int arr[6] = { 0 }; int len = sizeof(arr) / sizeof(int); for (int i = 0; i < len; i++) { cin >> arr[i]; } for (int i = 0; i < len - 1; i++) // 注意这里len-1,因为最后一个元素已经是最大的了 { int minIndex = i; // 保存最小值的索引 for (int j = i + 1; j < ...
0
点赞
评论
收藏
分享
2024-06-03 08:30
郑州大学 Java
题解 | #获取两数中的较大值#
#include <iostream> #include<cmath> using namespace std; int main() { int a,b;cin >> a>> b; cout<<(max)(a,b); return 0; }
0
点赞
评论
收藏
分享
2024-04-17 11:24
郑州大学 Java
题解 | #删除好友#
friends=input().split() argue_friend=input() friends.remove(argue_friend) print(friends)
0
点赞
评论
收藏
分享
2024-04-17 11:21
郑州大学 Java
题解 | #删除简历#
company=input().split() del(company[0]) print(company)
0
点赞
评论
收藏
分享
2024-04-17 11:20
郑州大学 Java
题解 | #增加派对名单(二)#
names=input().split() if "Allen" not in names: names.insert(0,"Allen") print(names)
0
点赞
评论
收藏
分享
2024-04-17 11:14
郑州大学 Java
题解 | #列表的长度#
strr=input().split() print(len(strr))
0
点赞
评论
收藏
分享
2024-04-17 11:11
郑州大学 Java
题解 | #生成数字列表#
numbers=input().split() lst=[] for i in numbers: ii=int(i) lst.append(ii) print(lst)
0
点赞
评论
收藏
分享
1
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务