akshayarise's blog

By akshayarise, history, 3 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • -43
  • Vote: I do not like it

By akshayarise, history, 3 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • -43
  • Vote: I do not like it

By akshayarise, history, 3 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • -24
  • Vote: I do not like it

By akshayarise, history, 4 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • -31
  • Vote: I do not like it

By akshayarise, history, 5 years ago, In English

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.

Full text and comments »

  • Vote: I like it
  • -17
  • Vote: I do not like it

By akshayarise, history, 6 years ago, In English

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?

Full text and comments »

  • Vote: I like it
  • -25
  • Vote: I do not like it

By akshayarise, history, 6 years ago, In English

include<iostream.h>

using namespace std;

int main(){

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

return 0; }

Full text and comments »

  • Vote: I like it
  • -37
  • Vote: I do not like it

By akshayarise, history, 6 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • -26
  • Vote: I do not like it