Open qwss12345 opened 3 years ago
Excuse me, I would like to ask if you have encountered this problem when running tests
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.
I used neovim, version 0.5
Excuse me, I would like to ask if you have encountered this problem when running tests
same problem
the answer is : class Solution { twoSum(vector& nums, int target) {
public:
vector
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 {};
}
};
but submit can be accepted.