Блог пользователя akshayarise

Автор akshayarise, история, 4 года назад, По-английски

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

Полный текст и комментарии »

  • Проголосовать: нравится
  • -43
  • Проголосовать: не нравится

Автор akshayarise, история, 4 года назад, По-английски

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

Полный текст и комментарии »

  • Проголосовать: нравится
  • -43
  • Проголосовать: не нравится

Автор akshayarise, история, 4 года назад, По-английски

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

Полный текст и комментарии »

  • Проголосовать: нравится
  • -24
  • Проголосовать: не нравится

Автор akshayarise, история, 5 лет назад, По-английски

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. ****

Полный текст и комментарии »

  • Проголосовать: нравится
  • -31
  • Проголосовать: не нравится

Автор akshayarise, история, 6 лет назад, По-английски

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.

These below are some IDE or editors I used but not satisfied.

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.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -17
  • Проголосовать: не нравится

Автор akshayarise, история, 6 лет назад, По-английски

Hi Guys,

==============================================================================================================================================================================================================================================================================================================================================================================

There is one doubt I want to ask which has frustrated me a lot for some time.

==============================================================================================================================================================================================================================================================================================================================================================================

I am comfortable in javascript as I have more than 2 years of experience in javascript / Node.Js but as I have some interest in competetive programming also. Is it better way to implement the data structure and algorithm problems in javascript or should I choose java or c or c++ or python or any other language?

Полный текст и комментарии »

  • Проголосовать: нравится
  • -25
  • Проголосовать: не нравится

Автор akshayarise, история, 6 лет назад, По-английски

include<iostream.h>

using namespace std;

int main(){

int num; cin>>num; cout<<"hello"; cout<<cin; cout<<cout;

return 0; }

Полный текст и комментарии »

  • Проголосовать: нравится
  • -37
  • Проголосовать: не нравится

Автор akshayarise, история, 6 лет назад, По-английски

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

include <bits/stdc++.h>

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; }

Полный текст и комментарии »

  • Проголосовать: нравится
  • -26
  • Проголосовать: не нравится