Leavery
Leavery
全部文章
分类
题解(18)
归档
标签
去牛客网
登录
/
注册
Leavery的博客
全部文章
(共16篇)
题解 | 牛客周赛 Round 111 - A~F 个人题解
A~F 个人题解 A #include <iostream> using namespace std; int main() { int n,k; cin>>n>>k; if (k <= (n+9)/10) cout<<"G...
2025-10-05
2
10
题解 | 牛客周赛 Round 111 - A~F 个人题解
A~F 个人题解 A #include <iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; cout<<(b == a+1 &&a...
2025-09-28
3
27
题解 | 牛客周赛 Round 110 - A~F 个人题解
A~F 个人题解 A #include <iostream> using namespace std; int main() { int n; cin>>n; cout<<(n == 1 ? "NO" : "YES")<<'\n'; ...
2025-09-21
7
47
题解 | 牛客周赛 Round 109 - A~E 个人题解
A~E 个人题解 A 向量的数量积为零 #include <iostream> using namespace std; int main() { int x1,y1,x2,y2; cin>>x1>>y1>>x2>>y2; c...
2025-09-14
4
32
题解 | 牛客周赛 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
64
题解 | 牛客周赛 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
40
题解 | 牛客周赛 Round 101 - 个人题解
个人题解 A log库函数 #include <iostream> #include <cmath> using namespace std; int main() { int score; cin>>score; cout<<150*l...
2025-07-21
4
55
题解 | 牛客周赛 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
156
题解 | 牛客周赛 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
72
题解 | 牛客周赛 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
58
首页
上一页
1
2
下一页
末页