leetcode.vim icon indicating copy to clipboard operation
leetcode.vim copied to clipboard

LeetcodeTest always return Wrong Answer

Open qwss12345 opened this issue 4 years ago • 3 comments

the answer is : class Solution {
public:
vector twoSum(vector& nums, int target) {
for(int i = 0; i < nums.size()-1; i++) {
for(int j = i+1; j< nums.size(); j++) {
if(nums[i] + nums[j] == target) {
return {i, j};
}
}
}
return {};
}
}; Screen Shot 2021-04-06 at 9 03 04 AM

but submit can be accepted. Screen Shot 2021-04-06 at 9 07 49 AM

qwss12345 avatar Apr 06 '21 01:04 qwss12345

Excuse me, I would like to ask if you have encountered this problem when running tests
Snipaste_2022-03-25_08-06-59

SmartDengC avatar Mar 25 '22 00:03 SmartDengC

I'm already logged in here and can see the topics I submitted on the leeetcode website, but I don't know why I can't submit them in neovim. Snipaste_2022-03-25_09-25-47

I used neovim, version 0.5 Snipaste_2022-03-25_09-28-12

SmartDengC avatar Mar 25 '22 01:03 SmartDengC

Excuse me, I would like to ask if you have encountered this problem when running tests Snipaste_2022-03-25_08-06-59

same problem

braveltd avatar Oct 04 '22 23:10 braveltd