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

How to improve and how to train: My personal experience and humble request

Hello @all,Following the series of tutorials I have been writing, I decided I would do something different this time, but equally important! I'm talking about analyzing the "lower-bound" of programming...

View Article


Getting wrong answer in FCTRL2

CODE LINKhttp://ideone.com/DxXxJT

View Article


where is the cookoff ranklist now?

where is the cookoff ranklist now?

View Article

number theory

Given 2 numbers a and b, what is the maximum number which can not be formed using na + mb

View Article

Dijkstra Positive weight Can I implement like this?

I tried to understand the concept of dijkstra algorithm and tried to write some piece of code to find single source shortest path (Not actual Dijkstra)....I think my logics were okay..My surely I have...

View Article


how fastread function is faster than scanf function?

please tell me that how fastread function performs faster than scanf here is the code for fastreadinline void fastread(int*a) { register char c=0; while (c<33) c=getchar(); *a =0; while(c>33) {...

View Article

DIVISORS OF A NUMBER

HOW TO CALCULATE ALL DIVISORS OF A VERY LARGE NUMBER??

View Article

GRIDCOL-editorial

Problem Link:PracticeContestauthor: Tasnim Imran Sunnytester: Roman Rubanenkoeditorialist: Utkarsh LathDifficulty:HardPre-requisites:inclusion-exclusion, dynamic-programming, combinatorics,...

View Article


Can we use codeblocks compiler for Codechef submissions?

I'm trying to use codeblocks compiler to submit my code for codechef. When i execute a program in codeblocks, i get the correct output but when i submit the same code on CodeChef it shows an "WRONG...

View Article


RIGHTRI - Editorial

Problem Link:PracticeContestauthor: Tasnim Imran Sunnytester: Roman Rubanenkoeditorialist: Utkarsh LathDifficulty:EasyPre-requisites:High School MathsProblem:Given n triangles in cartesian plane, count...

View Article

Can we use codeblocks compiler for Codechef submissions?

I'm trying to use codeblocks compiler to submit my code for codechef. When i execute a program in codeblocks, i get the correct output but when i submit the same code on CodeChef it shows an "WRONG...

View Article

DIVQUERY - editorial

Problem Link:PracticeContestauthor: Tasnim Imran Sunnytester: Roman Rubanenkoeditorialist: Utkarsh LathDifficulty:MediumPre-requisites:offline processing of queries, factorizing small...

View Article

DIVQUERY showing TLE even after using fastread with getchar_unlocked please help

I was submitting a problem in cookoff but it was showing time limit exceeded even after i used fastread function with getchar_unlocked please tell me how can i optimise it furtherproblemhere is my...

View Article


Prime generator got TLE

hi im really frustated about my code since i already optimize my code and still got tle (T^T) here my codeclick hereor #include<iostream> #include<stdio.h> #include<set>...

View Article

STRDIG - Editorial

Problem Link:PracticeContestauthor: Tasnim Imran Sunnytester: Roman Rubanenkoeditorialist: Utkarsh LathDifficulty:Easy-MediumPre-requisites:ad-hoc, implementationProblem:A very long string P is formed...

View Article


Image may be NSFW.
Clik here to view.

DFSGRID-Editorial

Problem Link:PracticeContestauthor: Tasnim Imran Sunnytester: Roman Rubanenkoeditorialist: Utkarsh LathDifficulty:Medium-HardPre-requisites:ad-hocProblem:The chef has written DFS traversal algorithm...

View Article

ICPC regionals at IIT Kanpur

When will the regionals be conducted at IIT Kanpur?? The dates for Amrita and IIT KGP are out...

View Article


SPOJ Problem - ORDERSET

Hey can anyone please help me with this problem. I'm repeatedly getting wrong answer. I think this question is a implementation of augmenting data structures as described in cormen. I have done the...

View Article

count the factor

post deleted...!!!

View Article

Divisor Summation PD13

Problem link : PD13 My code : http://ideone.com/kqh8S2 Tried a lot but still can't figure out why it's giving wrong output.

View Article
Browsing all 40121 articles
Browse latest View live


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