Pascal三角 (C语言代码) 摘要:#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>int main(){ int n,m ,a[1…… 文章列表 2022年02月14日 0 点赞 0 评论 270 浏览 评分:0.0
剪刀石头布 摘要:#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>int main(){ int a[3]={0,…… 文章列表 2022年02月13日 0 点赞 0 评论 269 浏览 评分:9.9
发工资咯(C语言代码) 摘要:#include #include #define maxn 105 int main() { int n,arr[maxn]; while(scanf("%d",&n)…… 文章列表 2022年02月13日 0 点赞 0 评论 384 浏览 评分:7.6
python-巧克力 摘要:解题思路:python代码超时,思路上感觉没什么问题,可能是python的运行效率太慢了。假设每个品种的巧克力用cho[i]表示,cho[i][0]代表价格,cho[i][1]代表剩余保质期天数,ch…… 文章列表 2022年02月12日 0 点赞 0 评论 545 浏览 评分:9.9
精品文章 人工智能之猫狗分类优化(英文版) 摘要:为了提高我的英文水平,接下来的文章将采用英文论述 ###Context To get higher accuracy,We always use plenty images to train th…… 文章列表 2022年02月12日 0 点赞 0 评论 480 浏览 评分:9.9
连接两个字符串的源代码(指针操作) 摘要:#include<stdio.h>#include<string.h>void stick(char* p1, char* p2, int n1, int n2);int main(){ char s…… 文章列表 2022年02月12日 0 点赞 0 评论 287 浏览 评分:9.9
字符串翻转 摘要:#include<stdio.h>#include<string.h>void rotate(char *p,int len);int main(){ char str[1000]; char* p …… 文章列表 2022年02月12日 0 点赞 0 评论 347 浏览 评分:9.9
三阶矩阵转置,n阶同理 摘要:#include<stdio.h> void transpose(int(*p)[3]); int main() { int arr[3][3]; int(*p)[3] = arr; …… 文章列表 2022年02月12日 0 点赞 0 评论 445 浏览 评分:9.9
判断素数(效率翻倍) 摘要:#include<stdio.h>#include<math.h>void prime(int num);int main(){ int num; scanf("%d", &num); prime(n…… 文章列表 2022年02月12日 0 点赞 0 评论 332 浏览 评分:9.9
python-网络分析 摘要:解题思路:并查集(秩+路径压缩)用python运行依然超时,70分。注意事项:参考代码:def find(x): global fa if x == fa[x]: …… 文章列表 2022年02月11日 0 点赞 0 评论 262 浏览 评分:0.0