QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#502864#2396. Dimensional Analysisxiaowuc1AC ✓1399ms13336kbPython32.0kb2024-08-03 15:19:462024-08-03 15:19:47

详细

Test #1:

score: 100
Accepted
time: 24ms
memory: 11812kb

input:

1
a = 1

output:

invalid

result:

ok single line: 'invalid'

Test #2:

score: 0
Accepted
time: 22ms
memory: 11816kb

input:

2
a = a
1 = 1

output:

valid

result:

ok single line: 'valid'

Test #3:

score: 0
Accepted
time: 11ms
memory: 11840kb

input:

10
a = b
b = c
c = d
d = e
e = f
f = g
g = h
h = i
i = j
j = a

output:

valid

result:

ok single line: 'valid'

Test #4:

score: 0
Accepted
time: 880ms
memory: 12832kb

input:

99
last * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a ...

output:

valid

result:

ok single line: 'valid'

Test #5:

score: 0
Accepted
time: 844ms
memory: 12784kb

input:

99
1 * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a...

output:

invalid

result:

ok single line: 'invalid'

Test #6:

score: 0
Accepted
time: 23ms
memory: 11852kb

input:

100
1 / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a = 1 * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a
1 / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a / a = 1 * a * a ...

output:

invalid

result:

ok single line: 'invalid'

Test #7:

score: 0
Accepted
time: 25ms
memory: 11868kb

input:

100
1 * a * a * a * a * a * a * a * a * a * a * a * a / b / b / b / b / b / b / b / b / b / b / b / b / b = 1 * a * a * a * a * a * a * a * a * a * a * a * a * b * b * b * b * b
1 * a * a * a * a * a * a * a * a * a * a / b / b / b / b / b / b / b / b / b / b / b / b = 1 / a / a / a / a / a / a / a ...

output:

invalid

result:

ok single line: 'invalid'

Test #8:

score: 0
Accepted
time: 24ms
memory: 11732kb

input:

5
1 / a / a / a / a / a / a / b / b / b / b / b / c / c / c / c / c / c / d / d / d / d / d / d * e * e * e * e * e * e * f * f * f * f * f * f * f * g * g * g * g * g / h / h / h / h / i / i / i / i / i / i / i * j * j * j = 1 / a / a / a / a * b * b * b * b * b * c * c * c * c / d / d / d / d / d ...

output:

valid

result:

ok single line: 'valid'

Test #9:

score: 0
Accepted
time: 18ms
memory: 11796kb

input:

10
1 * a * a * a / b / b / b / b * c * c * c * c * d * d * e / g / g / g / h / h / i / i / i * j / k / k * l * l * l * m / o / o / o / o * p * p * p * p * p * p / q / q / r * s * s * t * t * t * t = 1 / a / b * c / d / d * e * e * e * e * e / f * g * g * g * i * i * j * j * j * k * k * k * k * l * l...

output:

valid

result:

ok single line: 'valid'

Test #10:

score: 0
Accepted
time: 40ms
memory: 12016kb

input:

20
1 * a * b * c * c * c * e * g / h * k * k * m * m * m * m / n * o * o / p / q / q / r * s * t * t / u / w / x * y / z / cb * hb / ib / ib * jb = 1 * a * a * b * b / d * e * f * g * g * g * g * g / h / i / i / i * k * k / l / l / m / m / m / m / n / n / p / q * r * r * r / s / s * u / v / v / v * ...

output:

valid

result:

ok single line: 'valid'

Test #11:

score: 0
Accepted
time: 106ms
memory: 12080kb

input:

40
1 * a * a * a / i / i / j / k / k * o * p * p * q / r / r * s * s / t / t / t / t / u / u * w * w * y * z * ab * ab * ab / eb / eb / fb * gb * hb * hb * ib * ib * ib * ib / kb * lb * lb * mb * nb = 1 / a * b * b * c * c * c / e * g * g * h / l / l * m * n * n * n * n * n * p / r / r / s / s * t /...

output:

invalid

result:

ok single line: 'invalid'

Test #12:

score: 0
Accepted
time: 453ms
memory: 12760kb

input:

50
1 / f / m / n / r / r * u / ab / db / gb * ib * jb * mb / qb / qb / sb * yb * zb / ac / gc * jc * kc * mc * nc / oc / qc / cd / ed / hd / id * ld / md / nd * od / rd = 1 * a / c / c * e * f / g / i / j * l * q / r / u / u / z / ab * bb * jb * jb / mb / nb / ob / rb / rb / vb / zb * bc * fc * gc *...

output:

valid

result:

ok single line: 'valid'

Test #13:

score: 0
Accepted
time: 1399ms
memory: 13336kb

input:

91
1 * a * a / g / h / i * v / x / x / y * ab * cb * fb / hb / hb * kb / pb * qb * sb * sb * zb / ac / dc * hc / ic / jc / kc / mc / mc * nc / uc / ed * md * nd * qd / rd / ud = 1 * a * a * e * i / l / m * t * z / db * hb / nb / ob * vb * wb * dc * dc * dc / uc * wc / xc / ed * hd * id * id
1 / b * ...

output:

invalid

result:

ok single line: 'invalid'

Test #14:

score: 0
Accepted
time: 9ms
memory: 11788kb

input:

1
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

valid

result:

ok single line: 'valid'

Test #15:

score: 0
Accepted
time: 903ms
memory: 12800kb

input:

99
last * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a * a ...

output:

valid

result:

ok single line: 'valid'

Test #16:

score: 0
Accepted
time: 26ms
memory: 11880kb

input:

10
1 * a * a * a * a * a * a * a * a * a * a * k * k * k * k * k * k * k * k * k * k = 1
1 / a * b * b * b * b * b * b * b * b * b * b * j * j * j / k * l * l * l * l * l * l * l * l * l * l * t * t * t = 1
1 / b * c * c * c * c * c * c * c * c * c * c * j * j / l * m * m * m * m * m * m * m * m * m...

output:

valid

result:

ok single line: 'valid'

Test #17:

score: 0
Accepted
time: 26ms
memory: 11736kb

input:

10
1 * a * a * a * a * a * a * a * a * a * a * j * k * k * k * k * k * k * k * k * k * k * t = 1
1 / a * b * b * b * b * b * b * b * b * b * b * j * j * j * j * j / k * l * l * l * l * l * l * l * l * l * l * t * t * t * t * t = 1
1 / b * c * c * c * c * c * c * c * c * c * c / l * m * m * m * m * m...

output:

valid

result:

ok single line: 'valid'

Test #18:

score: 0
Accepted
time: 26ms
memory: 11668kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * l * l * l * l * l * l * l * l * l * l * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k * k * k * k * k * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v * v * v * v * v * v * v = 1
1 / b * c * c * c * c * c * c * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #19:

score: 0
Accepted
time: 26ms
memory: 11800kb

input:

10
1 * a * a * a * a * a * a * a * a * a * a * j * j * j * j * j * j * j * k * k * k * k * k * k * k * k * k * k * t * t * t * t * t * t * t = 1
1 / a * b * b * b * b * b * b * b * b * b * b * j / k * l * l * l * l * l * l * l * l * l * l * t = 1
1 / b * c * c * c * c * c * c * c * c * c * c * j * j...

output:

valid

result:

ok single line: 'valid'

Test #20:

score: 0
Accepted
time: 16ms
memory: 11848kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * k * k * l * l * l * l * l * l * l * l * l * l * v * v * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b / l * m * m * m * m * m * m * m * m * m * m = 1
1 / b * c * c * c * c * c * c * c * c * c * c * k * k * k * k / m * n * n * n * n * n * n * n...

output:

valid

result:

ok single line: 'valid'

Test #21:

score: 0
Accepted
time: 13ms
memory: 11732kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * k * k * k * k * k * k * k * k * l * l * l * l * l * l * l * l * l * l * v * v * v * v * v * v * v * v * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v * v * v = 1
1 / b * c * c...

output:

valid

result:

ok single line: 'valid'

Test #22:

score: 0
Accepted
time: 21ms
memory: 11764kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * l * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x * x * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x * x * x = 1
1 / b * c * c...

output:

valid

result:

ok single line: 'valid'

Test #23:

score: 0
Accepted
time: 20ms
memory: 11672kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * l * l * l * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x * x * x * x * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x * x *...

output:

valid

result:

ok single line: 'valid'

Test #24:

score: 0
Accepted
time: 22ms
memory: 11884kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x * x * x * x * x = 1
1 / b * c * c * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #25:

score: 0
Accepted
time: 28ms
memory: 11768kb

input:

13
1 * a * a * a * a * a * a * a * a * a * a * m * m * m * m * m * m * m * m * m * n * n * n * n * n * n * n * n * n * n * z * z * z * z * z * z * z * z * z = 1
1 / a * b * b * b * b * b * b * b * b * b * b * m * m * m * m * m * m * m * m / n * o * o * o * o * o * o * o * o * o * o * z * z * z * z *...

output:

valid

result:

ok single line: 'valid'

Test #26:

score: 0
Accepted
time: 25ms
memory: 11764kb

input:

10
1 * a * a * a * a * a * a * a * a * a * a * j * k * k * k * k * k * k * k * k * k * k * t = 1
1 / a * b * b * b * b * b * b * b * b * b * b * j * j * j * j / k * l * l * l * l * l * l * l * l * l * l * t * t * t * t = 1
1 / b * c * c * c * c * c * c * c * c * c * c / l * m * m * m * m * m * m * m...

output:

valid

result:

ok single line: 'valid'

Test #27:

score: 0
Accepted
time: 22ms
memory: 11716kb

input:

10
1 * a * a * a * a * a * a * a * a * a * a * j * j * j * k * k * k * k * k * k * k * k * k * k * t * t * t = 1
1 / a * b * b * b * b * b * b * b * b * b * b * j * j * j * j * j * j * j * j * j / k * l * l * l * l * l * l * l * l * l * l * t * t * t * t * t * t * t * t * t = 1
1 / b * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #28:

score: 0
Accepted
time: 22ms
memory: 11772kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * k * k * l * l * l * l * l * l * l * l * l * l * v * v * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k * k * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v * v * v * v = 1
1 / b * c * c * c * c * c * c * c * c * c * c * k * k...

output:

valid

result:

ok single line: 'valid'

Test #29:

score: 0
Accepted
time: 22ms
memory: 11764kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * l * l * l * l * l * l * l * l * l * l * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v * v * v = 1
1 / b * c * c * c * c * c * c * c * c * c * c * k * k * k / m * n * n * n * n...

output:

valid

result:

ok single line: 'valid'

Test #30:

score: 0
Accepted
time: 23ms
memory: 11672kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * k * k * k * k * k * k * k * k * l * l * l * l * l * l * l * l * l * l * v * v * v * v * v * v * v * v * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v = 1
1 / b * c * c * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #31:

score: 0
Accepted
time: 18ms
memory: 11740kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * k * k * k * k * k * k * l * l * l * l * l * l * l * l * l * l * v * v * v * v * v * v * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k * k * k * k * k * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v * v * v * v * v * v * v =...

output:

valid

result:

ok single line: 'valid'

Test #32:

score: 0
Accepted
time: 13ms
memory: 11820kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * k * k * k * k * k * k * l * l * l * l * l * l * l * l * l * l * v * v * v * v * v * v * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v * v = 1
1 / b * c * c * c * c * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #33:

score: 0
Accepted
time: 26ms
memory: 11772kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * k * k * k * k * k * k * k * k * l * l * l * l * l * l * l * l * l * l * v * v * v * v * v * v * v * v * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v * v = 1
1 / b * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #34:

score: 0
Accepted
time: 15ms
memory: 11848kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * k * k * l * l * l * l * l * l * l * l * l * l * v * v * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v * v = 1
1 / b * c * c * c * c * c * c * c * c * c * c * k * k * k / m * n * n...

output:

valid

result:

ok single line: 'valid'

Test #35:

score: 0
Accepted
time: 26ms
memory: 11736kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * k * k * l * l * l * l * l * l * l * l * l * l * v * v * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v * v * v = 1
1 / b * c * c * c * c * c * c * c * c * c * c * k * k / m * n...

output:

valid

result:

ok single line: 'valid'

Test #36:

score: 0
Accepted
time: 12ms
memory: 11772kb

input:

11
1 * a * a * a * a * a * a * a * a * a * a * k * l * l * l * l * l * l * l * l * l * l * v = 1
1 / a * b * b * b * b * b * b * b * b * b * b * k * k * k * k / l * m * m * m * m * m * m * m * m * m * m * v * v * v * v = 1
1 / b * c * c * c * c * c * c * c * c * c * c * k * k * k * k * k * k * k / m...

output:

valid

result:

ok single line: 'valid'

Test #37:

score: 0
Accepted
time: 23ms
memory: 11824kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * l * l * l * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x * x * x * x * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b / m * n * n * n * n * n * n * n * n * n * n = 1
1 / b * c * c * c * c * c * c * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #38:

score: 0
Accepted
time: 4ms
memory: 11736kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l * l * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x * x * x * x * x * x = 1
1 / b * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #39:

score: 0
Accepted
time: 23ms
memory: 11884kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * l * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x * x * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x = 1
1 / b * c * c * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #40:

score: 0
Accepted
time: 19ms
memory: 11776kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * l * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x * x * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b / m * n * n * n * n * n * n * n * n * n * n = 1
1 / b * c * c * c * c * c * c * c * c * c * c / n * o * o * o...

output:

valid

result:

ok single line: 'valid'

Test #41:

score: 0
Accepted
time: 19ms
memory: 11832kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * l * l * l * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x * x * x * x * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b / m * n * n * n * n * n * n * n * n * n * n = 1
1 / b * c * c * c * c * c * c * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #42:

score: 0
Accepted
time: 22ms
memory: 11736kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l / m * n * n * n * n * n * n * n * n * n * n * x = 1
1 / b * c * c * c * c * c * c * c * c * c * c * l * l * l * l * l * l * l * l / n * o...

output:

valid

result:

ok single line: 'valid'

Test #43:

score: 0
Accepted
time: 24ms
memory: 11764kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * l * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x * x * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l / m * n * n * n * n * n * n * n * n * n * n * x = 1
1 / b * c * c * c * c * c * c * c * c * c * c * l * l...

output:

valid

result:

ok single line: 'valid'

Test #44:

score: 0
Accepted
time: 27ms
memory: 11780kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * m * m * m * m * m * m * m * m * m * m * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l * l * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x * x * x * x * x * x = 1
1 / b * c * c * c * c * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #45:

score: 0
Accepted
time: 23ms
memory: 11784kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * l * l * l * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x * x * x * x * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x = 1
1 / b * c * c...

output:

valid

result:

ok single line: 'valid'

Test #46:

score: 0
Accepted
time: 23ms
memory: 11764kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * m * m * m * m * m * m * m * m * m * m * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x * x * x = 1
1 / b * c * c * c * c * c * c * c * c * c * c * l * l * l * l...

output:

valid

result:

ok single line: 'valid'

Test #47:

score: 0
Accepted
time: 18ms
memory: 11740kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * l * l * l * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x * x * x * x * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x *...

output:

valid

result:

ok single line: 'valid'

Test #48:

score: 0
Accepted
time: 13ms
memory: 11780kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * m * m * m * m * m * m * m * m * m * m * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x = 1
1 / b * c * c * c * c * c * c * c * c * c * c * l * l * l * l * l * l * l / n * o * o * o * o...

output:

valid

result:

ok single line: 'valid'

Test #49:

score: 0
Accepted
time: 28ms
memory: 11672kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x * x * x * x = 1
1 / b * c * c * c * c * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #50:

score: 0
Accepted
time: 17ms
memory: 11804kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * m * m * m * m * m * m * m * m * m * m * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x * x * x * x * x = 1
1 / b * c * c * c * c * c * c * c * c * c * c...

output:

valid

result:

ok single line: 'valid'

Test #51:

score: 0
Accepted
time: 20ms
memory: 11828kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * m * m * m * m * m * m * m * m * m * m * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l * l * l * l * l * l * l / m * n * n * n * n * n * n * n * n * n * n * x * x * x * x * x * x * x = 1
1 / b * c * c * c * c * c * c * c * c * c * c / n * o...

output:

valid

result:

ok single line: 'valid'

Test #52:

score: 0
Accepted
time: 21ms
memory: 11764kb

input:

12
1 * a * a * a * a * a * a * a * a * a * a * l * l * l * l * l * l * l * m * m * m * m * m * m * m * m * m * m * x * x * x * x * x * x * x = 1
1 / a * b * b * b * b * b * b * b * b * b * b * l / m * n * n * n * n * n * n * n * n * n * n * x = 1
1 / b * c * c * c * c * c * c * c * c * c * c * l * l...

output:

valid

result:

ok single line: 'valid'

Test #53:

score: 0
Accepted
time: 25ms
memory: 11764kb

input:

9
1 * a * a * a * a * a * a * a * a * a * a * i * j * j * j * j * j * j * j * j * j * j * r = 1
1 / a * b * b * b * b * b * b * b * b * b * b * i * i * i * i / j * k * k * k * k * k * k * k * k * k * k * r * r * r * r = 1
1 / b * c * c * c * c * c * c * c * c * c * c * i * i * i * i * i / k * l * l ...

output:

valid

result:

ok single line: 'valid'