自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void dx_print(char a[],int n){ int i=0; for(i=n-1;i>=0;i--) …… 题解列表 2023年11月30日 0 点赞 0 评论 106 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void str_cat(char a[],char b[]){ strcat(a,b); …… 题解列表 2023年11月30日 0 点赞 0 评论 128 浏览 评分:0.0
[编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:class Student(): def input(self, student_id, name, score): self.student…… 题解列表 2023年11月30日 1 点赞 0 评论 141 浏览 评分:0.0
[编程入门]结构体之成绩统计 屎山代码 只会语法 摘要:解题思路:注意事项:参考代码:class Student: def input(self, student_id, name, score): self.student_i…… 题解列表 2023年12月01日 0 点赞 0 评论 192 浏览 评分:0.0
c代码记录之TOM数(atoi函数用于字符串转数字,单个字符不行) 摘要:代码1:用atoi函数 #include #include int main() { char str[20],num[2];//因为atoi…… 题解列表 2023年12月01日 0 点赞 0 评论 146 浏览 评分:0.0
2901: 查找特定的值 摘要:```#include using namespace std; int n,x,N[100000]; int main(){ cin>>n; for( int i=1;i>N[i]; …… 题解列表 2023年12月01日 0 点赞 0 评论 162 浏览 评分:0.0
题解 1099: 校门外的树 摘要: #include using namespace std; int a[100000],c,b,sum,d,e,f; int main(){ cin…… 题解列表 2023年12月01日 0 点赞 0 评论 191 浏览 评分:0.0
2903: 不高兴的津津 摘要:``` #include using namespace std; int school[8],home[8],sum[8],ans; int main(){ for( int i=1;i…… 题解列表 2023年12月01日 0 点赞 0 评论 163 浏览 评分:0.0
编写题解 1039: [编程入门]宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:def LEAP_YEAR(y): return 'L' if (y % 4 == 0 and y % 100 != 0) or y % 400…… 题解列表 2023年12月01日 0 点赞 0 评论 180 浏览 评分:0.0
头疼的工人(实际上就是二进制转换) 摘要:解题思路:创建一个数组存储x转化的二进制,然后好办了注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int x; sc…… 题解列表 2023年12月01日 0 点赞 0 评论 152 浏览 评分:0.0