![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C和C++
www27www
这个作者很懒,什么都没留下…
展开
-
蛮力法C语言easy-x动态可视化
输入点的个数即可,C语言,动态可视化,依次画图连线#include<stdio.h> #include<math.h> #include <graphics.h> #include <conio.h> #include<stdlib.h> #include <time.h> #define MAX 1.79769e+308 typedef struct Points { int n; double P[30][2];原创 2021-06-06 16:24:20 · 184 阅读 · 0 评论 -
活动安排问题C语言
#include<stdio.h>void ChoseEvent(int n, int s[], int f[], int Flag[]){ Flag[1] = true; //第一个活动一定安排 int j = 1; //最近一次加入的活动 for (int i = 2; i <= n; i++)//检查活动i是否与已选择的活动相容{ if (s[i] >= f[j]){ Flag[i] = 1; j = i; } else Flag[原创 2021-06-06 16:18:07 · 567 阅读 · 0 评论 -
最基础的VS快捷键
代码格式对齐:Ctrl+A,全选Ctrl+K ,Ctrl+F ,对齐CTRL + M, CTRL + O 折叠所有方法CTRL + M, CTRL + L展开所有方法原创 2021-06-06 15:56:28 · 134 阅读 · 0 评论