给我中奖吧
给我中奖吧
全部文章
分类
归档
标签
去牛客网
登录
/
注册
给我中奖吧的博客
全部文章
(共16篇)
题解 | #牛客春招刷题训练营# 小红的矩阵
#include<bits/stdc++.h> using namespace std; int main() { int n,m,sum=0,a[1001][1001]; cin>>n>>m; for(int i=0;i<n;i++...
2025-05-26
0
38
题解 | #牛客春招刷题训练营#小红送外卖
#include <bits/stdc++.h> using namespace std; const int maxn = 2e6 + 10; typedef pair<long long, long long> PII; int n, m, q; int h[max...
2025-05-21
0
38
题解 | 小红和小紫的取素因子游戏#牛客春招刷题训练营#
#include <bits/stdc++.h> using namespace std; #define int long long const int N = 2e5 + 5; int __t = 1, n; void solve() { cin >> n; ...
2025-05-21
0
49
题解 | 一封奇怪的信
#include<iostream> #include<stdio.h> #include<vector> #include<map> using namespace std; int main(void) { map<char,int...
2025-05-21
0
53
题解 | 小红的排列构造
#include <iostream> using namespace std; //1和2是不可能的,3以上的数列前3位可以是3,2,1 //后面的4~n顺序排即可,后面的数与下标相等,ai+i=2*i,必然不是质数 int main() { int n; cin &g...
2025-05-08
0
41
题解 | 墙壁划线
#include <bits/stdc++.h> using namespace std; using LL = long long; int main() { LL a, b, x, y; cin >> a >> b >> x >...
2025-05-08
1
63
首页
上一页
1
2
下一页
末页