Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
[2020 Day 11 part 1] [C++] No idea what's wrong with my code/input, sample works fine
Post Flair (click to view more posts with a particular flair)
Post Body

Yeah, yeah, I know, not working is hardly anything new, but... I tried the sample input and got exactly the same result at every step, including the final answer. My code is a mess as usual but the actual logic should be pretty simple, so I have no idea what weird edge case I could be missing. There's a weird thing, too, that apparently my answer is someone else's (the 3rd time that's happened!) and I Save As'd my input first before clicking on it, which I didn't do before, and... that shouldn't do anything, right? But I have no other ideas at this point...

https://pastebin.com/PgjE9SPU

Author
Account Strength
100%
Account Age
14 years
Verified Email
Yes
Verified Flair
No
Total Karma
227,140
Link Karma
4,994
Comment Karma
221,744
Profile updated: 1 day ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago