| # | Name | ||
|---|---|---|---|
| A |
standard input/output
1 s, 256 MB
|
|
|
| B |
standard input/output
3.5 s, 256 MB
|
|
|
| C |
standard input/output
1 s, 256 MB
|
|
|
| D |
standard input/output
2 s, 256 MB
|
|
|
| E |
standard input/output
2 s, 256 MB
|
|
|
| F |
standard input/output
3 s, 256 MB
|
|
|
| G |
standard input/output
3 s, 256 MB
|
|
|
| H |
standard input/output
2 s, 256 MB
|
|
|
| I |
standard input/output
1 s, 256 MB
|
|
|
| J |
standard input/output
1 s, 256 MB
|
|
|
| Question | Answer | |
|---|---|---|
|
2026-05-18 13:43:12
|
Problem H. Prefix MEX ***** i MEX |
For example, we can take the prefix [0,1,2] from a and the prefix [5] from b. Then S = {0,1,2,5} and mex(S) = 3, which equals k, so the answer is YES.
|
|
2026-05-18 12:58:10
|
A prefix is a contiguous subarray that starts from the first element of the array.
For an array A = [1, 2, 3, 4, 5], the possible non-empty prefixes are:[1] and [1, 2] and [1, 2, 3] and [1, 2, 3, 4] and [1, 2, 3, 4, 5] |
|
|
2026-05-18 11:54:26
|
Announcement |
General announcement
***** Some Problems have diffrent time limit than the time stated on the paper |
|
2026-05-18 11:52:53
|
Announcement |
General announcement
***** Please Use the "Ask a question" |