Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 39796 articles
Browse latest View live
↧

getting WA in FUNC..

enter code here #include <stdio.h> include <math.h>include <stdlib.h>define mod 1000000007long long b[61]; void fill(long long x) { int flag=1,i=1; while(flag) { if(i==1) b[i]=x; else...

View Article


topcoder how to get started with topcoder?

i am new to topcoder . from where shall i start in topcoder .. and how to earn badges ..

View Article


What is wrong with this approach in solving problem JADEJA?

I read this problem and concluded that we have to count the number points with integral coordinates(both coordinates). So with two given points I got the equation of the line and then by looping from...

View Article

raking not updated

I have attended two long challenges and I solved 2-3 problem but at long contest ranking it showing "NA". What the reason for this.

View Article

FORGETPW WA

Can someone please point out where I am making a mistake. I have spent hours on this ad-hoc question, and am clueless as to where I am going wrong. My code does work fine for the tricky cases given in...

View Article


Different runtimes between codechef and ideone

Hi, I was solving the question Bogosort | Codechef. The solution (Codechef link) i submitted on Codechef gave me tle where as the same solution (Ideone link) i checked on Ideone ran for 1.17 sec for...

View Article

DOUBLE STRINGS - WA

#include <stdio.h> int main() { int t; scanf("%d", &t); while (t--) { long int n; scanf("%ld", &n); if(n % 2 == 0) { printf("%ld\n", n); } } return 0; }

View Article

deactivation of old account

i am having two accounts one with username vivan9518s and another with vaibhav9518s. i just came to know that it is not allowed to have two accounts .so kindly decativate my account with...

View Article


MKSQR please suggest the logic?

http://www.codechef.com/problems/MKSQR i am not getting d logic to solve this question. I thought it has something to do with linear independence of vectors but i guess i am wrong, i need only a slight...

View Article


Same strategy working in C but not in python. What could be the reason?

Getting runtime(nzec) error for solution submitted in python whereas similar approach worked in C. Am I missing something that in python. The solution for http://www.codechef.com/problems/DCE05 in...

View Article

Want to break the barrier ...

i m participating in long events of codechef from last 5 months . my best efforts could make only 4-5 questions..i want to break this 4-5 question barrier and wanna solve more than this...any...

View Article

WHY my solution is giving wa for DIGJUMP where ive tried all the test cases

please help i am fed up please can you provide a test casee`include<iostream>include<cstdio>include<map>using namespace std; int mat[10][10]; map<int,int>m; void update(int a){...

View Article

wrong ans in DIGIT JUMP

Why this code (http://ideone.com/p0KN5v)is giving wrong ans.Can someone give a test case which fails this solution??

View Article


Get bit value from a char array.

Hi guys, I'm trying to activate the lock bit of an Ultra Light nfc card. It has the following structure. there are 16 pages. 1 page contains 4 bytes. Lock bytes are available in the 2nd page 3rd byte...

View Article

Image may be NSFW.
Clik here to view.

College wise ranking on contest page

Hello friends, As everyone might be knowing already about Codechef college wise ranking website present on www.okrdx.com. Here is it's Chrome plugin, now you can just see ranks without going anywhere...

View Article


Why people take services from seo consultants india and which type of...

Why people take services from seo consultants india and which type of benefits they provide?

View Article

Spoj VPARTY .. hint

I have been trying to solve this question for quite some time now. I have realised we cannot use maximum flow here (I could be wrong). Can some please point to me towards an approach for this...

View Article


MAXPR .. PLZ HELP

plz help me in solving this question ...http://www.codechef.com/JUNE14/problems/MAXPRi need clarification .... !! for example if the series is 1 2 3 then the AP sequences are 1 2 3 1 2 2 3 1 3 1 2 3 so...

View Article

TLE in MAXPR

Why is the following solution giving TLE? http://www.codechef.com/viewsolution/4032512

View Article

Forgot password. Kindly help

i have tried all possible test cases....... plz check from my submissions...n REPLY @admin

View Article
Browsing all 39796 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>