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

In FRGTNLNG question Which test case is getting failed?

iterations = int(input()) while iterations : numberOfWords, numberOfLines = map(int, input().split()) wordsDictionary = {}; statusString = "" for word in input().split(): wordsDictionary[ word ] = "NO"...

View Article


small factorial

include<stdio.h>int main() { int t,a[100],i,f,j; scanf("%d\n",&t); for(i=0;i<t;i++) { scanf("%d\n",&a[i]); } for(i=0;i<t;i++) { f=1; for(j=1;j<=a[i];j++) { f=f*j; }...

View Article


what kind of questions may i ask?

I joined today in this site.I am poor at coding.By the suggestion of my sir, I want to know this site and want to learn coding.I am a student.I am studying Btech 1st year in iiit nuzvid.Please give...

View Article

Do I need to register for the CodeChef monthly contests (Long and Cook-Offs)...

I want to participate in the coming month's contest. Can I participate? Do I need to register for the CodeChef monthly contests (Long and Cook-Offs) every time

View Article

samsung hiring challenge

sir plz provide your expected inputs or else how would we know that our program is right or wrong because my code is matching the inputs nd outputs given in the description

View Article


Why am I getting worng answer ?

/Program to add two numbers/include<iostream>using namespace std; int main() { int T,a,b; cin>>T; /Entering the number of iterations/ for (int i=0; i<=T;i++) { cin>>a>>b; int...

View Article

Login problem

hello, I am using codechef with my gmail login. so now I want to login using username and password in same account can I do so? I tried to login with username and password but not able to do so..help!!

View Article

Image may be NSFW.
Clik here to view.

CODECHEF Debugging Tool

BUGCHEFHello,Hope you all are having a Good Time. I take the Liberty in introducing you to a new Tool called BUGCHEF.This tool is made for CODECHEF to simplify Code Debugging and Share Test CasesHere...

View Article


CODECHEF Attendance

CODECHEF Attendance ToolHey There Guys,Hope You all are having a good time. I want to present you another tool which can show you your attendance in CodeChef.This is especially useful for those who...

View Article


DataBread:TOOL TO TRACK YOUR ALGORITHMIC RATINGS

Hello Coders,I take the pleasure in introducing you to Databread.DataBread is a platform where you can see an aggregate or generalised form of your ratings from major CompetitiveProgramming websites at...

View Article

CIELRCPT - Editorial

PROBLEM LINKPracticeContestDIFFICULTYCAKEWALKPREREQUISITESGreedy AlgorithmsPROBLEMYou need to find the representation of a given integer N as a sum of powers of two up to 211 with the smallest number...

View Article

DWNLD - Editorial

Problem Link:ContestPracticeAuthor:Hasan JaddouhTesters:Kamil DebowskiEditorialist:Hasan JaddouhDifficulty:cakewalkPre-requisites:noneProblem Statement:Given a list internet speed during different...

View Article

what is wrong in this code

include<iostream>using namespace std; int main() { long long int a,c=0; cin>>a; if(a==0) { cout<<"1"; } while(a>0) { a=a/10; c++; } if(c>0) { cout<<c; } return 0;}

View Article


please find the mistakes in code and edit the error in the line and show me...

include <stdio.h>include<conio.h>void main() { signed char ch=`c'k;//signed char(or)simply char short int si=5; int i=6,r;//signed int(or)simply int long int li=7;//long int(or)signed long...

View Article

TLG:code gives correct output still ans is wrong plz help me find whats wrong...

link textAbove lies the link to problem statement. I'm providing the code below, kindly help me. Thank you...#include<stdio.h> int main() { int N=0,i=0,W=0,L=0,s=0,t=0; scanf("%d",&N); int...

View Article


Could you make Ranklist page could be more wider and simple????????

I think rank list page should be wider because it is very small so it requires more scrolling which does not feel so comfortable can we make it more like to codeforces or hackerearth can we also add...

View Article

can anyone help me what is problem with this code? it is giving correct...

include<iostream>using namespace std; main() { int t; cin>>t; while(t--) { int n; cin>>n; double loss=0; for(int i=0;i<n;i++) { int price; int q,discount;...

View Article


Unpacking AMBOXES

A problem about infeasibly large amounts of seriously overpackaged candy.Problem linkProblem statement: Andy got a box of candies for Christmas. In fact, he discovered that the box contained several...

View Article

Invitation to QuickMatch 10.5

https://www.codechef.com/KQM52018Was supposed to have hires in gurgaon region, however removing hiring version. Contest will happen though. Last year I had done a job which held me from help hiring for...

View Article

Invitation to Encoding August '18

Hello everyone! We are excited to invite you all to Encoding August '18. The contest is hosted by Netaji Subhash Engineering College, Kolkata. The contest will have challenges for all - beginner to...

View Article
Browsing all 39796 articles
Browse latest View live