Skip to main content
Code Review

Return to Answer

added 317 characters in body
Source Link

Never ever do that:

#include<bits/stdc++.h> 
 using namespace std ;

Otherwise you'll get into trouble soon. Xou can check Why should I not #include <bits/stdc++.h>? and Why is "using namespace std;" considered bad practice? for more details.

Just include every header you need separately and prefix the std:: namespace when needed (alternatively use a using definition).

Never ever do that:

#include<bits/stdc++.h> 
 using namespace std ;

Otherwise you'll get into trouble soon.

Just include every header you need separately and prefix the std:: namespace when needed (alternatively use a using definition).

Never ever do that:

#include<bits/stdc++.h> 
 using namespace std ;

Otherwise you'll get into trouble soon. Xou can check Why should I not #include <bits/stdc++.h>? and Why is "using namespace std;" considered bad practice? for more details.

Just include every header you need separately and prefix the std:: namespace when needed (alternatively use a using definition).

Source Link

Never ever do that:

#include<bits/stdc++.h> 
 using namespace std ;

Otherwise you'll get into trouble soon.

Just include every header you need separately and prefix the std:: namespace when needed (alternatively use a using definition).

lang-cpp

AltStyle によって変換されたページ (->オリジナル) /