牛客249212431号
牛客249212431号
全部文章
分类
华为机试-python版(4)
题解(2)
归档
标签
去牛客网
登录
/
注册
牛客249212431号的博客
全部文章
(共96篇)
题解 | #简单运算#
#include <iostream> using namespace std; int main() { // write your code here...... int a; int b; cin >> a; cin...
2024-04-23
1
172
题解 | #获取两数中的较大值#
#include <iostream> using namespace std; int main() { // write your code here...... int a; int b; cin >> a; cin >...
2024-04-23
0
198
题解 | #两数求和#
#include <iostream> using namespace std; int main() { // write your code here...... int a; int b; cin >> a; cin >...
2024-04-23
0
181
题解 | #实现四舍五入#
#include <iostream> using namespace std; int main() { double a; cin >> a; printf("%.0f", a); return 0; } // 64...
2024-04-23
0
141
题解 | #定义变量#
#include <iostream> using namespace std; int main() { // write your code here...... char a; int b; long c; double d; ...
2024-04-23
0
166
题解 | #旋转数组的最小数字#
/** * * @param rotateArray int整型一维数组 * @param rotateArrayLen int rotateArray数组长度 * @return int整型 */ int minNumberInRotateArray(int* rotateArray...
2023-04-23
0
200
题解 | #合并两个排序的链表#
/** * struct ListNode { * int val; * struct ListNode *next; * }; */ /** * * @param pHead1 ListNode类 * @param pHead2 ListNode类 * @return L...
2023-04-20
0
178
题解 | #反转链表#
/** * struct ListNode { * int val; * struct ListNode *next; * }; */ /** * * @param pHead ListNode类 * @return ListNode类 */ struct ListNode*...
2023-04-20
0
178
题解 | #斐波那契数列#
/** * * @param n int整型 * @return int整型 */ int Fibonacci(int n ) { // write code here if (n <= 2) return 1; else r...
2023-04-19
0
203
题解 | #KiKi定义电子日历类#
#include <stdio.h> typedef struct { int Year; int Month; int Day; }Date; int main() { Date D; scanf("%d %d %d", &D.Year, &...
2023-04-18
0
227
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页