上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页

2025年5月7日

摘要: T1. 青蛙棋 皮皮制作了一个玩具叫做青蛙棋,它是一个单人的益智棋类游戏,青蛙棋的棋盘只有一行,共 \(n\) 个格子,从左到右编号从 \(1 \sim n\),青蛙从 \(1\) 号格子出发,需要到达 \(n\) 号格子才算胜利。 青蛙棋只能进行跳跃,第一次只能跳一格,跳到2号格子,接下来的跳跃必 阅读全文
posted @ 2025-05-07 20:15 V_Melville 阅读(19) 评论(0) 推荐(0)

2025年5月4日

摘要: 经受过严寒才能感受到太阳的温暖。遭遇过人生的磨难才能明白生命的尊严。 阅读全文
posted @ 2025-05-04 00:34 V_Melville 阅读(151) 评论(0) 推荐(0)

2025年4月28日

摘要: 越学越会发现自己什么都不知道,越发现就越想再学。 阅读全文
posted @ 2025-04-28 03:09 V_Melville 阅读(62) 评论(0) 推荐(0)

2025年4月20日

摘要: C. Dislike Foods 可以先建立使用食材 \(x\) 的料理列表 同时维护每种料理中当前不能吃的食材数 然后按顺序模拟即可 代码实现 #include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) usin 阅读全文
posted @ 2025-04-20 05:21 V_Melville 阅读(46) 评论(2) 推荐(0)

2025年4月13日

摘要: Don't stop until you are in the top 1% 阅读全文
posted @ 2025-04-13 19:01 V_Melville 阅读(19) 评论(0) 推荐(0)

2025年4月6日

摘要: 人生苦短,没有时间做其他事,只能做自己喜欢的事。 阅读全文
posted @ 2025-04-06 00:46 V_Melville 阅读(32) 评论(0) 推荐(0)

2025年3月30日

摘要: 当面临无法克服的障碍时,没有什么比固执更无用的了。 阅读全文
posted @ 2025-03-30 00:35 V_Melville 阅读(61) 评论(0) 推荐(0)

2025年3月23日

摘要: A. Doors in the Center 模拟 代码实现 n = int(input()) s = ['-']*n if n%2 == 0: s[n//2-1] = '=' s[n//2] = '=' else: s[n//2] = '=' print(''.join(s)) B. Full H 阅读全文
posted @ 2025-03-23 01:32 V_Melville 阅读(37) 评论(0) 推荐(0)

2025年3月15日

摘要: A. Thermometer 模拟 代码实现 #include <bits/stdc++.h> using namespace std; int main() { double x; cin >> x; if (x >= 38) puts("1"); else if (x >= 37.5) puts 阅读全文
posted @ 2025-03-15 23:54 V_Melville 阅读(43) 评论(0) 推荐(0)

2025年3月9日

摘要: A. Triple Four 模拟 代码实现 n = int(input()) a = list(map(int, input().split())) ans = any(a[i] == a[i+1] == a[i+2] for i in range(n-2)) print('Yes' if ans 阅读全文
posted @ 2025-03-09 00:10 V_Melville 阅读(55) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页