Skip to content

たのしいカードゲーム (Card Game is Fun)

Unrated
日本語

Language

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

Statement

たのしいカードゲーム (Card Game is Fun):公式問題文 1ページ

たのしいカードゲーム (Card Game is Fun):公式問題文 2ページ

たのしいカードゲーム (Card Game is Fun):公式問題文 3ページ

Examples

Sample input 1
5 4
1 2 3 4 5
3 1 4 1
Sample output 1
2
Sample input 2
6 5
4 1 5 2 3 4
4 5 4 2 3
Sample output 2
3

Notes

Tags

No tags yet

Source