1096: Minesweeper(c++版)
摘要:**题意:**
挖地雷"这个游戏的目的是在M*N的地雷区格子中找出所有的地雷。为了要帮助你,这个游戏会在非地雷的格子上有些数字,告诉你这一个格子的邻居共有多少个地雷。例如:以下4*4……
1097: 蛇行矩阵(C语言版)
摘要:简单的找规律
具体代码:
```c
#include
void main()
{
int n;
while (scanf("%d", &n) != EOF)
{……
1111: Cylinder
解题思路:图片引用自kevin的文章具体代码:```c#include#definePI3.141592653589793238#includeintmain(){doublew,
1115: DNA(C语言版)
Hifipsysta-1771-[编程入门]链表之节点删除(C++代码)
```cpp#includeusingnamespacestd;structnode{intid;intscore;node*next;};node*create(intid_arr[],intscore_arr[],intlength){node*pre,
编写题解 1138: C语言训练-求矩阵的两对角线上的元素之和 代码可能写的不是特别好还请谅解
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
#include <math.h>
int main ()
{
int N;
scanf("%d",&N);
in……
python-回文日期
摘要:解题思路:采用循环,数据较大。不建议。直接构造回文日期,可以知道每年最多有一个回文日期。进行查找即可。注意事项:参考代码:s = input().strip()
y = int(s[:4]) ……
1466: 蓝桥杯基础练习VIP-字符串对比
摘要:方法一:
```c
#include
#include
#include
void main()
{
char arr[10], brr[10];
scanf("%……
蓝桥杯算法提高VIP-剪刀石头布(c
摘要:参考代码:#include<stdio.h>
int main()
{
enum display{stone=0,scissors,cloth}a,b;
enum result{lose=……