Skip to content

ビーバーの会合 2 (Meetings 2)

Unrated
日本語

Language

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

Statement

ビーバーの会合 2 (Meetings 2):公式日本語問題文 1ページ

ビーバーの会合 2 (Meetings 2):公式日本語問題文 2ページ

ビーバーの会合 2 (Meetings 2):公式日本語問題文 3ページ

Examples

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

Notes

Tags

No tags yet

Source