题解列表

筛选

一起来捉妖 (C语言代码)

摘要:解题思路:        循环输入数据,每一次输入就进行判断,不断求和即可。        由于scanf是有返回值的,且返回值为int型,特别的此处用法导致只有scanf返回-1,循环才会结束,也就……

一起来捉妖 (C++代码)

摘要:解题思路: 水一下就过了参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(false),cin.tie(0),cout.tie……

找寻小妖 (C语言代码)

摘要:解题思路:                就是bfs,但我就不知道哪里错了,求路过的大神求解注意事项:参考代码:#include<stdio.h>#define max 101char map[max……

Minesweeper (C++代码)Do you know Minesweeper?

摘要:解题思路:    Do you know Minesweeper?    It&#39;s mean "扫雷"        扫雷玩过没有?没有的话自己打开系统自带的游戏——扫雷,玩一下。    其主……

考试评级 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a; scanf("%d",&a); if(80<=a&&a<=100)……