ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1500. Pass Licenses

Hint: if you got TLE
Posted by OpenGL 29 Jul 2010 23:33
If you got TLE, try change adjacency matrix to edge list.
Re: Hint: if you got TLE
Posted by svr 13 Dec 2010 19:43
Bitset<30> operation "|"
helps to avoid inner N-loop
Re: Hint: if you got TLE
Posted by wust_youji 22 Dec 2013 09:48
= 、=  Using edge list, got TLE. I got AC changed edge list to adjacency matrix.