Harry Potter and Three Spells
65A1800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 7
Input
100 200 250 150 200 250
Output
Ron
Sample 2of 7
Input
100 50 50 200 200 100
Output
Hermione
Sample 3of 7
Input
100 10 200 20 300 30
Output
Hermione
Sample 4of 7
Input
0 0 0 0 0 0
Output
Hermione
Sample 5of 7
Input
1 1 0 1 1 1
Output
Ron
Sample 6of 7
Input
1 0 1 2 1 2
Output
Hermione
Sample 7of 7
Input
100 1 100 1 0 1
Output
Ron
58%
65A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)