在考古的小鱼干很有气魄
在考古的小鱼干很有气魄
全部文章
分类
归档
标签
去牛客网
登录
/
注册
在考古的小鱼干很有气魄的博客
全部文章
(共84篇)
题解 | 每日温度
import java.util.*; public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 每日温度 * @param dailyTemperatures i...
2025-03-23
0
30
题解 | 验证IP地址
import java.util.*; public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 验证IP地址 * @param IP string字符串 一个IP...
2025-03-22
0
23
题解 | 二分查找-I
import java.util.*; public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param nums int整型一维数组 * ...
2025-03-05
0
32
题解 | #买房子#
#include <bits/stdc++.h> using namespace std; int main(){ int k,n; double target,cnt; while(cin>>n>>k){ cnt = n; target = 2...
2023-03-20
1
408
题解 | #全排列#
#include <bits/stdc++.h> #define MAX 7 using namespace std; vector<string> res; void fun(char s[],string list){ if(list.size() == strlen...
2023-03-20
1
426
题解 | #大整数的因子#
#include <bits/stdc++.h> #define MAX 31 using namespace std; //typedef long long ll; int main(){ string s; int data[MAX],res[MAX],len; vecto...
2023-03-20
1
376
题解 | #小白鼠排队#
#include <bits/stdc++.h> using namespace std; typedef struct { int w; string hat; }Shu; bool cmp(Shu a,Shu b){ if(a.w > b.w) return t...
2023-03-20
1
404
题解 | #查找#
#include <bits/stdc++.h> #define INF 0x3f3f3f3f using namespace std; int main(){ int n,m,tmp; vector<int> a,b; cin>>n; for(int ...
2023-03-18
1
385
题解 | #找最小数#
#include <bits/stdc++.h> #define INF 0x3f3f3f3f using namespace std; int main(){ int n,mina = INF,minb = INF,a,b; cin>>n; while(n--){ ...
2023-03-18
1
326
题解 | #复数集合#
#include <iostream> #include <vector> #include <algorithm> #include <cmath> using namespace std; int main() { vector<str...
2023-03-18
1
373
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页