题解列表

筛选

数组逆序重放

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){     int n,i,a[100],j;     scanf("%d",&n);     for(i=0;i<……

Minesweeper(水题)

摘要:```c #include //题目挺简单的,细心就好,唯一要注意的就是逐个输入字符要耀getchar忽略掉输入的换行。 int main(){ int n,m,i,j,k=0; ch……

2794:Hello, World!

摘要:解题思路:   直接输出Hello, World!即可。参考代码:#include<iostream>using namespace std;int main(){   cout<<"Hello, W……

2175: 信息学奥赛一本通T1250-The Castle

摘要:解题思路:熟练地运用位运算符,并使用广搜进行搜索。不懂可以看这里哦!注意事项:增量顺序不要改!参考代码:#include<bits/stdc++.h> using namespace std; i……

容易看懂c语言

摘要:解题思路:两个数据有联系,用结构体 ,用冒泡法排序注意事项:交换的中间变量要为相同的结构体类型参考代码:#include<stdio.h>#include<string.h>typedef struc……

1346: 数字三角形4

摘要:```cpp #include using namespace std; int ij[27][27]; int main() { int n,answer=-1; ci……