10460 — Find the Permuted String "UVA"

Правка en1, от Profesora, 2017-08-23 01:29:16

Hello, Problem:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=646&page=show_problem&problem=1401 Code:https://ideone.com/YKNCzG Time complexity For the previous Code IS O(n!) n<=26 which gives me TLE every time i submit it it's seems to be madness to write such a backtracking code to solve this problem with such a big complexity,but sadly i don't what should i do ! So would you please Help me !

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Profesora 2017-08-23 01:36:47 7 Tiny change: ' don't \n what shou' -> ' don't \n know what shou'
en1 Английский Profesora 2017-08-23 01:29:16 486 Initial revision (published)