Submission in C++20 — WA
Submission in C++17 — AC
The same code is giving different output in different version of C++, but what is the reason causing it?
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 150 |
Submission in C++20 — WA
Submission in C++17 — AC
The same code is giving different output in different version of C++, but what is the reason causing it?
I started my cp journey in Feb of 2022, initially I thought of dsa as cp and used to do leetcode a lot, then I slowly got know about codeforces and codechef in mid February. damn all the problems looks so easy but were so difficult to do it while coding, so I decided to study algorithms then try it again, so rest of feb I devoted to only studying them, but when I came back in March damn still couldn't do any hardly. I thought to myself I am not meant for it, should leave cp and try dev.
But something back of my mind said to try again as a game , just a win or lose will add to my experience, so I kept on trying problems and did many problems , eventually I got the hang of it and was able to solve some, and at that time it became fun for me, I started thinking of it as a game, which helps me a lot cause I could compare it with CSGO (only game I used to play).
So I knew I had to put in a lot of efforts even to see a slight progress, and I am right now in the process of doing so , solving problems above my caliber and giving contest and not caring about the rating.
I am thinking of participating in only Div 2 contests and try to solve consistently doing A and B, s it a good idea? My rating right now is 927 and I have given about 4 contests
Name |
---|