金刚侠
金刚侠
全部文章
分类
归档
标签
去牛客网
登录
/
注册
金刚侠的博客
全部文章
(共82篇)
题解 | 二进制数1
#include <iostream> using namespace std; int main() { long long x; cin>>x; int cnt=0; while (x) { cnt+=x&1; ...
2026-01-06
0
34
题解 | 点到直线距离
#include <bits/stdc++.h> #include <cmath> #include <math.h> using namespace std; struct point{ double x,y; point(double A,d...
2026-01-05
0
35
题解 | 上三角矩阵判定
#include <iostream> using namespace std; #include <vector> int main() { int n; cin>>n; vector<vector<int>>...
2026-01-05
0
41
题解 | 硬币凑钱
#include <iostream> using namespace std; #include <vector> #include <algorithm> int main() { const int INF =0x3f3f3f3f; int ...
2026-01-04
0
35
题解 | 分数线划定
#include <iostream> #include <vector> #include <algorithm> using namespace std; struct Can{ int id; int score; }; bool compa...
2026-01-04
0
36
题解 | CSS选择器——伪类选择器
{"html":"<!DOCTYPE html>\n<html>\n\n<head>\n <meta charset=\"UTF-8\">\n <style>\n /...
2026-01-03
0
32
题解 | 单组_二维字符数组
#include <iostream> using namespace std; #include <string> #include <algorithm> int main() { ios::sync_with_stdio(false); ci...
2026-01-01
0
29
题解 | 单组_二维字符数组
#include <iostream> #include <iterator> using namespace std; #include <vector> #include <string> #include <algorithm> in...
2026-01-01
0
26
题解 | 单组_二维字符数组
#include <iostream> using namespace std; #include <stack> int main() { int n,m; cin>>n>>m; char ch; stack<c...
2026-01-01
0
20
题解 | 快乐数
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param n int整型 * @return bool布尔型 */ ...
2026-01-01
0
36
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页