Hug the princess Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others) Submit Status There is a sequence with nn elements. Assuming they are a1,a2,⋯,ana1,a2,⋯,an
Hug the princess Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others) Submit Status There is a sequence with nn elements. Assuming they are a1,a2,⋯,ana1,a2,⋯,an
Hug the princess Time Limit: 1000MS Memory Limit: 65535KB 64bit IO Format: %lld & %llu Submit Status Description There is a sequence with n elements. Assuming they are a1,a2,⋯,a
Hug the princess Time Limit: 1000MS Memory Limit: 65535KB 64bit IO Format: %lld & %llu Submit Status Description There is a sequence with n elements. Assuming they are a1,a2,⋯,a