旁观者AP
旁观者AP
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
旁观者AP的博客
全部文章
(共3篇)
题解 | #六一儿童节#
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n, m; cin >> n; ...
2024-06-17
0
265
题解 | #地下迷宫#
#include <cmath> #include <iostream> #include <vector> using namespace std; const int N = 20; int n, m, p; int board[N][N]; bool st...
2024-06-17
0
217
题解 | #二分查找-II#
简洁的二分代码 class Solution { public: int search(vector<int>& nums, int target) { if(nums.size()==0) return -1; int l=0,r=num...
2021-06-28
0
376