叶紫枫
叶紫枫
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
叶紫枫的博客
全部文章
(共37篇)
题解 | #我是大V#
#include <stdio.h> int main() { int i = 0; for(i;i<=2;i++) { int j = 0; for(j;j<=4;j++) { //把图画在3行5列的...
2024-05-26
0
122
题解 | #序列中删除指定数字#
#include <stdio.h> #include<stdlib.h> int main() { int N; scanf("%d", &N); //动态内存分配 int* arr = (int*)malloc(N * sizeof(...
2024-05-24
1
164
题解 | #获得月份天数#
#include <stdio.h> int main() { //数组下标对应月数 int month[13] = { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; int year = 0; ...
2024-05-18
1
141
题解 | #两个整数二进制位不同个数#
#include <stdio.h> int main() { int m, n; scanf("%d %d",&m, &n); int a = m ^ n;//将两数进行异或运算 int count = 0;//计算a二进制中1的个数...
2024-04-28
1
195
题解 | #验证登录名与密码#
a = input() b = input() if a=='admis' and b=='Nowcoder666': print("Welcome!") else: print("user id or password is not correct!&...
2023-12-10
1
202
题解 | #生成列表#
a = input() name = a print(name.split())
2023-11-22
1
157
题解 | #发送offer#
offer_list = ['Allen','Tom'] print("%s, you have passed our interview and will soon become a member of our company."%(offer_list[0])) print(...
2023-11-22
1
189
首页
上一页
1
2
3
4
下一页
末页