-
Notifications
You must be signed in to change notification settings - Fork 382
Description
LeetCode Username
_mandar_k
Problem Number, Title, and Link
- Kids With the Greatest Number of Candies
Bug Category
Problem constraints
Bug Description
Dear LeetCode Support, @wktang
I am reaching out regarding a broken streak on my LeetCode account (username: _mandar_k).
On July 8, 2025 (UTC), I submitted a solution to the problem
https://leetcode.com/submissions/detail/1691543799/
that initially showed a successful submission. However, when I checked the next day, my streak was broken. Upon reviewing my submission history, the submission tab now showed “Internal Error” instead of successful submission. When I resubmitted the same code , the internal error message was gone and I saw successful submission message.
I believe this was caused by a backend issue on the platform, as I did submit before the daily reset and had got a successful submission.
Could you please help verify this and restore my streak? You can check the logs to confirm what I saying is true.
I am maintaining a streak of 189 days and I don't want it to end because of a technical glitch.
Thank you for your support.
Best regards,
Mandar Kulkarni
Language Used for Code
C++
Code used for Submit/Run operation
class Solution {
public:
vector<bool> kidsWithCandies(vector<int>& candies, int extraCandies) {
int greatest = candies[0];
for(int i{1} ; i < candies.size() ; i++){
greatest = max(greatest , candies[i]);
}
vector<bool> ans;
for(auto ele : candies){
if(ele + extraCandies >= greatest){
ans.push_back(true);
}
else{
ans.push_back(false);
}
}
return ans;
}
};Expected behavior
Streak should not be broken
Screenshots
No response
Additional context
No response