legendary中文
时间: 2023-11-07 20:37:04 浏览: 31
"legendary" 的中文翻译是 "传奇的"。它通常指某个人、事物或者事件在历史上有着重要地位并被广泛传颂,因此成为传奇。例如,"legendary hero" 意为 "传奇英雄","legendary creature" 意为 "传奇生物","legendary story" 意为 "传奇故事" 等等。
相关问题
链接:https://ac.nowcoder.com/acm/contest/59840/C 来源:牛客网 Codeforces是一个俄罗斯的算法竞赛刷题网站,每周会有1-3场算法比赛。参赛者的表现将通过评测系统进行评判,根据解题的正确性和速度给予相应的分数。其中,最著名的评分系统是Elo Rating System,它基于选手与其他选手之间的对战结果来计算和调整选手的rating分数。这样,每个选手都会有一个表示他们编程水平的rating分数,通过提高分数可以解锁不同的成就,具体规则如下所示: 0-1199分 Newbie 1200-1399分 Pupil 1400-1599分 Specialist 1600-1899分 Expert 1900-2099分 Candidate Master 2100-2299分 Master 2300-2399分 International Master 2400-2599分 Grandmaster 2600-2999分 International Grandmaster 3000分及以上 Legendary Grandmaster 现在,有Q个问题,每个问题有一个cfid和对应的rating分数,请你根据选手的rating分数输出他的对应成就
好的,根据你提供的规则,我可以写一个简单的代码来实现这个功能。以下是示例代码,你可以参考一下:
```python
ratings = {
"Newbie": (0, 1199),
"Pupil": (1200, 1399),
"Specialist": (1400, 1599),
"Expert": (1600, 1899),
"Candidate Master": (1900, 2099),
"Master": (2100, 2299),
"International Master": (2300, 2399),
"Grandmaster": (2400, 2599),
"International Grandmaster": (2600, 2999),
"Legendary Grandmaster": (3000, float("inf"))
}
def get_achievement(rating):
for achievement, rating_range in ratings.items():
if rating_range[0] <= rating <= rating_range[1]:
return achievement
# 示例输入
cfid = "abc123"
rating = 2400
# 输出成就
print(f"CFID {cfid} 的成就是 {get_achievement(rating)}")
```
示例输出:
```
CFID abc123 的成就是 Grandmaster
```
请用英语四级考试常考重难点词汇和短语为我创建一篇英语小故事,并且在这些和短语后面加上!以做标识
Once upon a time there was a brave knight named Sir Arthur who lived in a small castle. He often went on adventures to slay dragons and rescue damsels in distress. One day, he set out on a quest to find the legendary Sword of Excalibur. He traveled through treacherous terrain and encountered many obstacles along the way. Eventually, he reached the sword's resting place, where he was met by a fierce dragon. After a long and difficult battle, Sir Arthur emerged victorious and claimed his prize. He proudly held up the Sword of Excalibur and shouted, "For glory and honor!" 尽力(endeavor)、抉择(choice)、咆哮(roar)、挑战(challenge)、勇敢(brave)、山谷(valley)、传奇(legendary)、宝剑(sword)、凯旋(victorious)、荣耀(glory)、荣誉(honor)。
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)