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
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
2 | maomao90 | 163 |
4 | atcoder_official | 161 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | nor | 153 |
9 | Dominater069 | 153 |
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; }
Название |
---|