ll

ll

The contest has ended

Speed . Accuracy . Efficiency

include

include

main() { FILE *in,*out; in=fopen("input1.txt","r"); out=fopen("output1.txt","w");
long long int a,b,c,d,s=0; long long int max=0; fscanf(in,"%lld",&a); fscanf(in,"%lld",&b); b=max; for(int i=1;i,s+1); }

Rules

  • All the challenges will have a predetermined score. Score of a game is calculated using Bayesian Approximation
  • This contest will appeal to programmers who're interested in interesting algorithmic challenges, AI challenges and of course general programming
  • HackerRank admins decision will be final
  • Please refrain from discussing strategy during the contest.
  • Any case of code plagiarism will result in disqualification of both the users from the contest. We've a fairly good plagiarism detector that works at the opcode level.
  • You can code directly on our interface. We support 20 major languages. You can have a look at the environment in which we run your code