Search found 2 matches

by Centinela
6 years ago
Forum: Problem set
Topic: 2537 - Assassins of the Three Kingdoms
Replies: 4
Views: 1142
Gender: None specified

Re: 2537 - Assassins of the Three Kingdoms

Supuse que:
T=1 del test case que me mencionas.
Debido a que el problema especifica que N (2 <= N <= 8)

input:
  • 1
    3
    0 0 1
Output:
  • 3
Me da la solución que me mencionas.
by Centinela
6 years ago
Forum: Problem set
Topic: 2537 - Assassins of the Three Kingdoms
Replies: 4
Views: 1142
Gender: None specified

Re: 2537 - Assassins of the Three Kingdoms

Hola:

He probado mi codigo con diferentes test cases, y aun asi siguo obteniendo WA. Quisiera saber si existe algun caso de prueba especial.
Input:
  • 5
    3
    1 2 1
    4
    1 2 3 1
    4
    1 1 1 1
    5
    1 2 1 1 1
    8
    1 2 3 4 5 6 7 8
Output:
  • 3
    12
    6
    30
    40320

Go to advanced search