题解列表

筛选

Minesweeper -题解(C++代码)

#####此题不难,难在翻译,会翻译了就简单了,此题我个人感觉我用的内存比较大#includeusingnamespacestd;intmain(){intn,m,count=1;while(cin>>n>>m&&n!=0&&m!=0){charMine[100][100];intmine[100][

[编程入门]报数问题-题解(C++代码)

思路主要是利用循环链表和for循环,可能较为繁琐1.构建循环链表Node*setList(intn){Node*head=(Node*)malloc(sizeof(Node));Node*p=(Node*)malloc(sizeof(Node));head->data=1;if(n>1){head->