摘要:
A.激光炸弹 阅读全文
摘要:
问题一(数字根问题) 问题二(电梯问题) (1)Problem Description The highest building in our city has only one elevator. A request list is made up with N positive numbers. 阅读全文
摘要:
A.POJ_1321考查DFS的一个循环中递归调用 1 #include<iostream> 2 #include<cstring> 3 4 using namespace std; 5 char a[10][10]; //记录棋盘位置 6 int book[10]; //记录一列是否已经放过棋子 阅读全文
摘要:
EG1 激光炸弹题意:给你n个点的坐标及权值,用r * r的范围最大覆盖是多少题解//二维的 前缀和 问题#include #include using namespace std;int n, r;int ta, tb;int x, y, w;int s... 阅读全文
摘要:
题目:https://blog.csdn.net/qq_43591782/article/details/88417426第一题#include #include using namespace std;int main() { int num = 0; c... 阅读全文
摘要:
问题一(数字根问题)#include #include using namespace std;int roots(int num) { int res = 0; while (num) { res += num % 10; num /= 10; } i... 阅读全文
摘要:
第一题 第二题 第三题 第四题 第五题 第六题 阅读全文