Hi All,
Why should we choose Java for Competitive Programming?
Please give the detailed explanation with reasons. Thanks In Advance
Warm Regards, Akshay Kumar Software Developer
# | 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 |
Hi All,
Why should we choose Java for Competitive Programming?
Please give the detailed explanation with reasons. Thanks In Advance
Warm Regards, Akshay Kumar Software Developer
Hi All,
Why should we choose C++ for Competitive Programming?
Please give the detailed explanation with reasons. Thanks In Advance
Warm Regards, Akshay Kumar Software Developer 9310279350
Hi All,
Is it the good way to start practice the problems in Javascript language for product based companies Interviews rather than C++, Java, Python? Please give the detailed explanation with reasons. Thanks In Advance
Warm Regards, Akshay Kumar Software Developer 9310279350
Hi Team,
Why Codeforces gives the options for many languages to code if the maximum coders uses only the C++ language to code? **** I think Codeforces should give only C++ language option for coding. ****
Hi Guys,
Please let me know what are the IDE/editors should I use for c++ competetive programming in my local system in ubuntu 18.04.
1.) I used the microsoft visual studio but it is very slow and every time it asks me to make new project.
2.) I used gedit/nano in ubuntu and executed the command from ubuntu terminal for compilation but thats also not suitable for debugging of complex programs like tree and graphs.
==============================================================================================================================================================================================================================================================================================================================================================================
==============================================================================================================================================================================================================================================================================================================================================================================
using namespace std;
int main(){
int num; cin>>num; cout<<"hello"; cout<<cin; cout<<cout;
return 0; }
Here is my code which is got accepted in GNU G++17 7.3.0 compiler but I am not able to find out why this is showing time limit error in GNU C++17 Diagnostics (Dr Memory) compiler.
A. New Building for SIS
using namespace std; int main(){ register int n,h,low,high,k; ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
cin>>n>>h>>low>>high>>k;
register int ta,fa,tb,fb;
while(k--){
cin>>ta>>fa>>tb>>fb;
if(ta == tb)
cout<<abs(fa - fb)<<"\n";
else if(fa < low && fb < low )
cout<<abs(ta-tb) + low - fa + low - fb<<"\n";
else if(fa > high && fb > high )
cout<<abs(ta-tb) + fa - high + fb - high<<"\n";
else
cout<<abs(ta-tb) + abs(fa-fb)<<"\n";
}
return 0; }
Name |
---|