Skip to main content
Testing!
Menu
Problems
Contributors
API
API Documentation
API Tools
My Account
Profile
Sign In
Chat
Select a problem or
browse problems
All Judges
Toph
Dev Skill
CATS Online Judge
beecrowd
Facebook Hacker Cup
Light Online Judge
Google Code Jam
UVa Online Judge
ACM-ICPC Live Archive
1979
Problem ID:
1979
Separate Rooms
Hints
beecrowd
Problem Statement
Single Output Problem
Solution
beecrowd former URI Online Judge
Most Popular Input
feodorv
Notes:
The judge solution is wrong. You only need to check the connected component which includes participant's ID #1. Otherwise you get WA 10%.
Select Input
(2)
Sign Up to Vote
User
Date
Votes
1
feodorv
17 Sep
2018 21:04:43
0
2
feodorv
17 Sep
2018 21:16:12
0
Delete Input
Add Input
Input
Copy Input
Accepted Output
Copy Output
Your Output