首页
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
兑换中心
登录
注册
上岸
blackbook537
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
16
发帖
0
笔记
0
Ta的粉丝
0
关注数
0
粉丝数
0
获赞数
59
阅读数
2871
对称平方数 题解:
#include<stdio.h> #include<stdlib.h> int is_palindrome(int num){ int reversed = 0, original = num;  ...
P1463
2025年3月19日 11:12
回复 0
|
赞 1
|
浏览 161
字符串匹配 - 兰州大学 题解:
#include<stdio.h> #include<string.h> int main(){ char str1[100000]; char str2[100000]; &nb...
P1717
2025年3月18日 21:23
回复 0
|
赞 1
|
浏览 175
十进制转二进制 题解:
#include<stdio.h> void decimalToBinary(int n){ if(n == 0){ printf("0"...
P1715
2025年3月18日 21:13
回复 0
|
赞 0
|
浏览 127
完数 题解:
#include <stdio.h> void wan_shu(int n) { int a[1000]; // 存储因子的数组 int sum = 0; // 因子之和 int j =...
P1046
2025年3月17日 17:46
回复 0
|
赞 1
|
浏览 77
最大序列和 题解:
#include <stdio.h> int main() { int N; while (scanf("%d", &N) != EOF) { ...
P1172
2025年3月16日 21:41
回复 0
|
赞 9
|
浏览 158
素数判定 题解:
#include<stdio.h> #include<stdlib.h> int su(int num){ if(num < 2){ re...
P1102
2025年3月16日 20:37
回复 0
|
赞 1
|
浏览 116
字符分类 题解:
#include<stdio.h> #include<string.h> int main(){ char s[1000]; scanf("%s",&s)...
P1016
2025年3月15日 21:28
回复 0
|
赞 5
|
浏览 173
翻转数的和 题解:
#include<stdio.h> #include<stdlib.h> int reverseNumber(int num){ int reversed = 0; while(nu...
P1003
2025年3月15日 21:20
回复 0
|
赞 4
|
浏览 160
数字统计 题解:
#include<stdio.h> #include<stdlib.h> #include<math.h> int countDigitTwo(int num){ int count = 0; ...
P1002
2025年3月15日 21:09
回复 0
|
赞 2
|
浏览 161
促销计算 题解:
#include<stdio.h> #include<stdlib.h> int main(){ double n; scanf("%lf",&n); ...
P1091
2025年3月15日 20:41
回复 0
|
赞 16
|
浏览 298
排序 题解:qsort
#include<stdio.h> #include<stdlib.h> int compare(const void *a, const void *b){ int num1 = *(int *)a; &n...
P1010
2025年3月15日 20:27
回复 0
|
赞 5
|
浏览 217
矩阵翻转 题解:
#include<stdio.h> int main(){ int n; scanf("%d",&n); int N[n][n]...
P1134
2025年3月14日 17:55
回复 0
|
赞 2
|
浏览 150
求三角形的面积 题解:坐标公式
#include<stdio.h> #include<math.h> double calculateArea(double x1,double y1,double x2,double y2,double x3,double y3){ ...
P1125
2025年3月14日 17:27
回复 0
|
赞 5
|
浏览 273
变位词 题解qsort排序
#include<stdio.h> #include<string.h> #include<stdlib.h> //比较函数,用于qsort排序 int compare(const void *a, const void *b){ ...
P1032
2025年3月14日 16:07
回复 0
|
赞 5
|
浏览 226
删除字符串2 题解:memmove加strncasecmp
#include<stdio.h> #include<string.h> #include<ctype.h> char *strcasestr(const char *haystack, const char *needle){ &n...
P1027
2025年3月13日 11:14
回复 0
|
赞 0
|
浏览 174
删除字符串 题解:strstr() + memmove()
#include<stdio.h> #include<string.h> void removeSubstr(char *str, const char *sub){ int len = strlen(sub); &nb...
P1026
2025年3月13日 10:46
回复 0
|
赞 2
|
浏览 225
本科学校:兰州大学
目标学校:兰州大学
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!