11504 — Dominos

Revision en1, by felipezeiser, 2017-03-22 21:03:23

Hello,

I am having problems with this problem ;(

https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2499

Follow my implementation, I'm using kosaraju, I believe I'm right but you're escaping some test case.

Code: http://ideone.com/ifMknd

Tags scc, strongly connected, kosaraju, dfs and similar

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English felipezeiser 2017-03-22 21:03:23 324 Initial revision (published)