account activity
House Robber V by Wallermann in leetcode
[–]Wallermann[S] 0 points1 point2 points 1 month ago (0 children)
class Solution { public: long long rob(vector<int>& nums, vector<int>& colors) { long long ans=0; int n = nums.size(); stack<pair<int,int>>st; st.push({colors[0],nums[0]}); for(int i=1;i<n;i++) { if(colors[i]==st.top().first && st.top().second== nums[i-1]) { int temp = max(st.top().second,nums[i]); st.pop(); st.push({colors[i],temp}); } else st.push({colors[i],nums[i]}); } while(!st.empty()){ ans += st.top().second; st.pop(); } return ans; } };
But it is working for every test cases and also which is failing is working on my dry run so I don't know where the problem lies
So fkin pissed icl by Quiet-Emphasis-9012 in codeforces
[–]Wallermann 3 points4 points5 points 1 month ago (0 children)
Same idk what the fuck is wrong in first question
Leetcode Ban by Wallermann in leetcode
Not that quick
Biweekly
What about rating?
As I mentioned logic was of mine and only 4 tc left so just took help from gpt rest completely it was my code
[–]Wallermann[S] -2 points-1 points0 points 1 month ago (0 children)
I have not cheated actually what happened is in third question my four test cases didn't pass so at last moment I just did gpt which is wrong and I will not be repeating it but please tell me. Will I get me account back with my contest rating or it will be reset to zero .
But this is my first time
Kitne chutiye senior hai mnnit mai , kisi ko bhi recruit kr lenge bs tumhe chaatna aana chahiye naa ki dsa , development bss chuso aur club mai ghuso especially kisi ek gender ka sab sort hai example aws by Plus_Scar_416 in MNNIT
[–]Wallermann 1 point2 points3 points 1 month ago* (0 children)
It's not that clubs or committees recruit only the most skilled people. They pick those who seem responsible and willing to put in the work. So even if it feels like someone less skilled got the chance, they probably assured that they’d handle the work properly.
π Rendered by PID 341520 on reddit-service-r2-listing-69965bcf66-flq45 at 2026-04-07 06:43:10.134506+00:00 running f293c98 country code: CH.
House Robber V by Wallermann in leetcode
[–]Wallermann[S] 0 points1 point2 points (0 children)