摘要:
memset函数逐个字节赋值的,所以除了0和1这两个数字外,一般不要直接赋值。 memset(数组,赋值(0或1),数组的长度) #include<iostream> using namespace std; int main() { char a[8]; memset(a, '*', 8); fo 阅读全文
posted @ 2020-12-12 16:28
光学
阅读(44)
评论(0)
推荐(0)
摘要:
#include <cstdio> #include <string.h> #include <cmath> #include <queue> using namespace std; struct xy{ int x,y; }node,Top; const int dx[4]={1,-1,2,-2 阅读全文
posted @ 2020-12-12 16:06
光学
阅读(59)
评论(0)
推荐(0)


浙公网安备 33010602011771号