07 2020 档案

摘要:#include<iostream>#include<cstring>#include<cstdio>#include<algorithm>using namespace std;const int N=1010;int g[N][N];int s[N][N];int n,m;int num;int 阅读全文

posted @ 2020-07-30 15:18 Nicela 阅读(89) 评论(0) 推荐(0) |

摘要:#include<iostream>#include<cstring>#include<cstdio>#include<algorithm>using namespace std;const int N=100010;int a[N],s[N];int n,m;int main(){ cin>>n> 阅读全文

posted @ 2020-07-30 15:14 Nicela 阅读(72) 评论(0) 推荐(0) |

摘要:#include<iostream>#include<cstring>#include<cstdio>#include<algorithm>using namespace std;double num;int main(){ cin>>num; double l=-10000; double r=1 阅读全文

posted @ 2020-07-30 15:12 Nicela 阅读(137) 评论(0) 推荐(0) |

摘要:#include<iostream>#include<cstdio>#include<cstring>#include<algorithm>using namespace std;int shu,num;const int N=100010;int shuzu[N];int shunum;int m 阅读全文

posted @ 2020-07-30 15:11 Nicela 阅读(84) 评论(0) 推荐(0) |

摘要:#include<iostream>#include<cstring>#include<cstdio>#include<algorithm>using namespace std;const int N=105;char chu[N],zhong[N];int step;void turn(int 阅读全文

posted @ 2020-07-30 15:09 Nicela 阅读(82) 评论(0) 推荐(0) |

摘要:#include <cstring>#include <iostream>#include <algorithm>#include <vector> #define x first#define y second using namespace std; typedef pair<int, int> 阅读全文

posted @ 2020-07-30 15:01 Nicela 阅读(125) 评论(0) 推荐(0) |

摘要:#include<iostream>#include<cstdio>#include<cstring>#include<algorithm>using namespace std;int T;char g[6][6];char backup[6][6]; int dx[5]={-1,0,1,0,0} 阅读全文

posted @ 2020-07-30 15:00 Nicela 阅读(68) 评论(0) 推荐(0) |

摘要:using System; namespace _022_索引器的重载{ public class IndexClass { public static int size = 5; private string[] stringArray = new string[size]; public Ind 阅读全文

posted @ 2020-07-27 17:26 Nicela 阅读(147) 评论(0) 推荐(0) |

摘要:感觉还是附上代码好一点,所以就直接在代码中写注释了! using System;//indexer 索引器的意义:一个对象可以像数组一样被索引,namespace _021_索引器的理解{ class Program { public class indexerName//做一个索引器的类 { pu 阅读全文

posted @ 2020-07-23 09:55 Nicela 阅读(396) 评论(0) 推荐(0) |

摘要:提问:既然上一篇文章说到属性可以看成是特殊的一种方法,那么可否有抽象属性(前面加abstract)呢? 既然方法可以有抽象的,那么属性也可以有,不过如果你要写成抽象属性 可能上一篇文章的两种写法就不能都用了。 public abstract class student//抽象类里的方法都是抽象的 { 阅读全文

posted @ 2020-07-18 10:55 Nicela 阅读(412) 评论(1) 推荐(0) |

摘要:接下来的几篇都是unity中比较高级的部分,会做一些讲解,有任何错误欢迎指导批评!!(以下为代码为手机打入,直接复制到编译器可能会有错误,请注意) 1.属性(property)可以存在于以下的结构中 类,结构体,接口(可以把属性当成方法来理解) 2.属性的特点 不确定存储位置,有set,get访问器 阅读全文

posted @ 2020-07-18 09:33 Nicela 阅读(1502) 评论(0) 推荐(0) |

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3