Elemental resonance
题号:NC243726
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

When there are certain combinations of elemental characters in the party, the whole party will receive a bonus. These bonuses stack, and apply in Co-Op Mode. Even if a character involved in Elemental Resonance is incapacitated, the Elemental Resonance Effect will still apply.

The table below shows the conditions under which each element resonates.

Name

Element

Effects

Fervent Flames

At least two Pyro

Affected by Cryo for 40% less time. Increases ATK by 25%.

Soothing Water

At least two Hydro

Affected by Pyro for 40% less time. Increases Max HP by 25%.

High Voltage

At least two Electro

Affected by Hydro for 40% less time. Superconduct, Overloaded, Electro-Charged, Quicken, Aggravate, or Hyperbloom have a 100% chance to generate an Electro Elemental Particle (CD: 5s).

Shattering Ice

At least two Cryo

Affected by Electro for 40% less time. Increases CRIT Rate against enemies that are Frozen or affected by Cryo by 15%.

Impetuous Winds

At least two Anemo

Decreases Stamina Consumption by 15%. Increases Movement SPD by 10%. Shortens Skill CD by 5%.

Enduring Rock

At least two Geo

Increases shield strength by 15%. Additionally, characters protected by a shield will have the following special characteristics: DMG dealt increased by 15%, dealing DMG to enemies will decrease their Geo RES by 20% for 15s.

Sprawling Greenery

At least two Dendro

Elemental Mastery increased by 50. After triggering Burning, Quicken, or Bloom reactions, all nearby party members gain 30 Elemental Mastery for 6s. After triggering Aggravate, Spread, Hyperbloom, or Burgeon reactions, all nearby party members gain 20 Elemental Mastery for 6s. The durations of the aforementioned effects will be counted independently.

Protective Canopy

Any 4 Unique Elements

All Elemental RES +15%, Physical RES +15%.

The above is excerpted from Genshin Impact's fandom wiki.

You've now picked four characters to join your party, and you know their elements. Now you want to know what the elemental resonance of the team is.

输入描述:

A line of four words representing elements. The word can be one of following:Pyro, Hydro, Electro, Cryo, Anemo, Geo, Dendro

输出描述:

Several lines represent element resonance, one per line in lexicographical order

Please output strictly by name:Fervent Flames, Soothing Water, High Voltage, Shattering Ice, Impetuous Winds, Enduring Rock, Sprawling Greenery, Protective Canopy
示例1

输入

复制
Cryo Cryo Cryo Cryo

输出

复制
Shattering Ice