honi1
honi1
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
honi1的博客
全部文章
(共4篇)
题解 | 密码强度等级
#include <iostream> #include <string> using namespace std; int daxie,xiaoxie,fuhao,shuzi; int main() { string s;cin>>s; in...
2025-04-01
0
39
题解 | 完全数计算
#include <iostream> #include <set> using namespace std; typedef long long ll; ll cnt; void check(int x) { set<int> st; // 用集合去...
2025-04-01
0
26
题解 | #装进肚子#
第一次写的时候没看懂题目,为啥早上吃第一个加3甜蜜度,原来第二行是从第1个到第n个巧克力早上吃对应的甜蜜值,第三行都是晚上吃对应的甜蜜值,看不懂的我直接打go去了呵呵 #include <iostream> #include <algorithm> u...
C++
C
贪心
2025-01-18
0
88
题解 | #23年OPPO-a的翻转#
#include <iostream> using namespace std; using ll = long long; int main() { ll a; cin>>a; ll b=a; ll c=0; while(b>0...
2024-11-19
0
61