Mismatch with condition
In the condition It is written \n2.  2 <= A.length == B.length <= 20000\n\nBut if i delete condition \nif(A.size() != B.size())\n            return -1;\nfrom my
In the condition It is written \n2.  2 <= A.length == B.length <= 20000\n\nBut if i delete condition \nif(A.size() != B.size())\n            return -1;\nfrom my code I get \n Runtime Error\n AddressSanitizer: heap-buffer-overflow on address 0x63200041c07c at pc 0x000000405cbb bp 0x7fffdcee3ee0...\n \n It may misleading during competition, and precious time will be spent by search of the error.
[]