题解列表

筛选

与2无关的数 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n; int a,b,c……

数日子 (C++代码)

摘要:解题思路:注意事项:参考代码:这样就能通过,233333#include<iostream>using namespace std;int main(){ cout << 200 << endl; r……

迷宫问题 (C语言代码)

摘要:解题思路:利用广搜遍历注意事项:若无路径则为-1参考代码:#include<stdio.h>char c[200][200];//创建迷宫数组int a,b;//迷宫大小int q[4][2]={-1……

自己想出另一个方法

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstring>#include <algorithm>using namespace std;struct n……

P1022 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main() { long long int n; scanf("%lld", &n); i……