Clang or GCC and why I moved to the first one
Difference between en4 and en5, changed 264 character(s)
UPD: Thanks to [user:jalsol,2021-09-17] and [user:imachug,2021-09-17] for solution to this problem.↵
And yes, it was my problem, not GCC's one) Moreover, it was because `#pragma GCC optimize("Ofast")` and it's not a big question why it doesn't work in Clang :)↵

As you may know, usually on competitions (especially when you're coding on linux OS) GCC compiler is being used. And GCC is utterly the most popular one, I can't argue on this point. What about Clang — it's commonly known as MacOS compiler because Apple with zealous gruffness built it in the all of their PC products.↵

So a few weeks ago I switched OS from Ubuntu to Deepin because according to some circumstances I thought that my OS had been crashing) and btw I was right and btw Deepin is much user friendly than Ubuntu. So I changed OS then installed Clion and closed my PC, and for a week or so I used only my mac laptop, because it was just improbable to debug in such a fword compiler. Like ok, you open an application (CodeBlocks or Clion) begin debugging and by example you want to look at the variable that as you thought has some useful information that may help you rectify the thing. But instead of your variable you get "< optimized_out >" and you're obliged to make this variable global and it makes you waste some time). Ok this is not the whole problem, when you're trying :) to debug some passage of the code instead of looking through all lines of it (step by step) as Clang compiler does, you're striding, making giant leaps on other uproar compiler is kinda goading you, and in this hustle is easy to forget what you have been doing)))↵

Clang does NOT have this all stuff, maybe it's not the best in compiling :) or running program, but it's marvelous in debugging. So if you're interested in using a debugger, move to Clang. Good luck on contest. Bye!↵

![ ](/predownloaded/25/8b/258be686e255e55b909a1e98efb29b45e1dc4976.jpg)↵


Evidences:↵
==========↵


First↵
-----↵

GCC↵

![ ](/predownloaded/3f/34/3f3484d68ce2f127f1686b5023acc3d0eec0bb7f.png)↵

Clang↵

![ ](/predownloaded/44/dc/44dc6a130a54d9d61ed845ff2d04487b92610c4f.png)↵

Second↵
-----↵

GCC↵

![ ](/predownloaded/c6/d0/c6d0591f003a38ee24f3350169f3ef8ea70a1517.png)↵

Clang↵

![ ](/predownloaded/fa/53/fa5313d42d10868b237d2050edeef41391a29927.png)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English arseniyx92 2021-09-17 08:34:23 25 Tiny change: 'ang :)\n\nAs you' -> 'ang :)\n\n\n\nProblem:\n-------\n\nAs you'
en5 English arseniyx92 2021-09-17 08:32:38 264 SOLVED
en4 English arseniyx92 2021-09-16 20:33:28 282 Tiny change: 'nEvidences:\n\nFirst' -> 'nEvidences\n=========:\n\nFirst'
en3 English arseniyx92 2021-09-16 20:29:17 267 Added evidences
en2 English arseniyx92 2021-09-16 20:15:29 74
en1 English arseniyx92 2021-09-16 20:03:21 1630 Initial revision (published)