You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the InputFormat is written as LINES(M, A) % SIZE(N) and the size of each array is checked again in the Constraints
I think it is better to have the sizes of each array validated in the Input Format (maybe we can have something like LINES(M, A % SIZE(M)) % SIZE(N)).
This is also useful for multiple queries problem, where each query type has differing format.
Suppose we have N arrays, each having the length M_i
The arrays are given in the input in the following format:
Currently, the InputFormat is written as
LINES(M, A) % SIZE(N)
and the size of each array is checked again in theConstraints
I think it is better to have the sizes of each array validated in the Input Format (maybe we can have something like
LINES(M, A % SIZE(M)) % SIZE(N)
).This is also useful for multiple queries problem, where each query type has differing format.
Example problem: https://training.ia-toki.org/problemsets/182/problems/1065/
The text was updated successfully, but these errors were encountered: