Leavery
Leavery
全部文章
分类
题解(14)
归档
标签
去牛客网
登录
/
注册
Leavery的博客
全部文章
(共12篇)
题解 | 牛客周赛 Round 104 - 个人题解
个人题解 A #include <iostream> using namespace std; int main() { int a,b,c,d; cin>>a>>b>>c>>d; cout<<((a==1)+(b...
2025-08-10
10
39
题解 | 牛客周赛 Round 103 - A~E 个人题解
A~E 个人题解 A 看个位是不是0 #include <iostream> using namespace std; int main() { int n; cin>>n; cout<<(n%10 ? "YES" : "NO")<<'\...
2025-08-03
2
29
题解 | 牛客周赛 Round 101 - 个人题解
个人题解 A log库函数 #include <iostream> #include <cmath> using namespace std; int main() { int score; cin>>score; cout<<150*l...
2025-07-21
4
41
题解 | 牛客周赛 Round 100 - 个人题解
个人题解 A 每个数输出两次 #include <iostream> using namespace std; int main() { int n; cin>>n; for (int i=1; i<=n; i++) cout<<i&l...
2025-07-14
23
107
题解 | 牛客周赛 Round 96 - 个人题解
个人题解 A 输入是整数 特判一下25就行了 #include <iostream> using namespace std; int main() { int x; cin>>x; cout<<(x == 25 ? 0 : (x*0.2 < ...
2025-06-16
10
54
题解 | 牛客周赛 Round 91 - 个人题解
补完题 发一下个人题解 A 模拟 #include <iostream> using namespace std; int main() { string s, t = "while"; cin>>s; int cnt = 0; for (int i=0; ...
2025-04-28
8
55
题解 | 牛客周赛 Round 86 - A~E
个人题解 A~E A #include <iostream> using namespace std; int main() { int x,y; cin>>x>>y; cout<<(y+x-1)/x<<'\n'; ...
2025-03-23
11
96
题解 | 牛客周赛 Round 84 - 个人题解
A 模拟 #include <iostream> using namespace std; int main() { int a1,a2,a3; cin>>a1>>a2>>a3; cout<<(abs(a1-a2) + abs...
2025-03-09
21
140
牛客周赛 Round 73 - A~E
A~E题个人题解 A 找大于l的第一个为x的倍数的数 #include <iostream> using namespace std; int main() { int l,r,x; cin>>l>>r>>x; cout<<(...
2024-12-22
9
115
牛客周赛 Round 69 - D bitset做法
D题 bitset做法 直接枚举所有2^q种情况 因为数据范围很小 所以O(2^q*q*n*m)即可通过该题 #include <iostream> #include <bitset> using namespace std; int main() { int n,m,...
2024-11-24
6
123
首页
上一页
1
2
下一页
末页