Skip to content

カメレオンの恋 (Chameleon’s Love)

UnratedFunction
日本語

Language

Contribute a translation
Time limit
2000 ms
Memory limit
512 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

カメレオンの恋 (Chameleon’s Love):公式日本語問題文 1ページ

カメレオンの恋 (Chameleon’s Love):公式日本語問題文 2ページ

カメレオンの恋 (Chameleon’s Love):公式日本語問題文 3ページ

カメレオンの恋 (Chameleon’s Love):公式日本語問題文 4ページ

カメレオンの恋 (Chameleon’s Love):公式日本語問題文 5ページ

Examples

Sample input 1
4
1 0 1 0 0 1 1 0
4 4 1 2 1 2 3 3
4 3 8 7 6 5 2 1
Sample output 1
Answer(6, 4)
Answer(7, 8)
Answer(2, 1)
Answer(3, 5)

Notes

JOI 2019/2020 カメレオンの恋 (Chameleon’s Love)、情報オリンピック日本委員会。CC BY-SA 4.0。

Tags

No tags yet

Source

This problem accepts only these languages.

C++20