Uva 10890 — Maze TLE

Правка en2, от Mr.Awesome, 2016-02-09 15:35:23

hi CF community. I was trying to solve this problem but i got a TLE.

My backtrack approach use bitmask to mark treasures already taken .

the constraints of the problem are small so i didn't figure out why it gives TLE .

here my commented code .

Теги uva, backtracking, bitmask, maze

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Mr.Awesome 2016-02-09 15:35:23 16
en1 Английский Mr.Awesome 2016-02-09 13:38:21 414 Initial revision (published)