| Question | Answer | |
|---|---|---|
|
2015-01-07 19:49:54
|
If there is no such substring in query type 3, print -1 .
|
|
|
2015-01-07 19:12:00
|
Problem B. ShortestPath Query ***** in the second example C is 1 but there is c(u,v) = 2 C should be 2 or more? no? |
Yes
|
|
2015-01-07 18:50:24
|
Problem A. LCM Query ***** Could you explain what is this? mini = 1n - x + 1 (lcm(ai, ai + 1, ..., ai + x - 1)) |
It means the minimum value of lcm(a_i,a_{i+1},...,a_{i+x-1}) where 1 <= i <= n-x+1
|