Group For C++/C/Java/Python Students
Update: 8/11/16 created a group on edmodo, join via this link: https://www.edmodo.com/home#/join/2s9zicHello, friends I am a student. And a beginner in c++ programming. Friends i got an idea of...
View Articlemy code is not running
include<conio.h>include<stdio.h>main() { char x,A,E,I,O,U; printf("ENTER THE ALPHABET YOU WANT TO CHECK"); scanf("%d",&x); if(x== A||E||I||O||U) { printf("vowel"); } else {...
View ArticlePython input error
When i try to run a code in python on codechef it gives EOF error.But the same thing if run with custom input it runs perfectly.
View Articlehttps://www.codechef.com/problems/HS08TEST
Whenever run this code i get wrong answer can someone help me in notifying the error: code:include<iostream>include<iomanip>using namespace std; int main() { int x,i; float bal;...
View ArticleT23 - Editorial
PROBLEM LINK:[Contest] T23Author:Nandishwar GargDIFFICULTY:SIMPLEPROBLEM:You are given an array of size N. You have to find every possible subset of the elements in array. Then we have to check 3...
View ArticleEOF error but works perfectly with custom input
def nCm(n,m): if m==0: return 1 if m==n: return 1 return int((n/m)*nCm(n-1,m-1)) num_test=int(input())for test in range(num_test):N,K=[s for s in map(int, input().split())] print(nCm(N-1,K-1))' Why...
View ArticleAugust Challenge - SPELLBOB Whats wrong in my code?
#include "iostream" #include "string.h" using namespace std; int main() { string s1, s2; int t; cin >> t; while(t--) { cin >> s1 >> s2; if(s1[0] == 'b' || s2[0] == 'b') { if(s1[1] ==...
View ArticleTSECAU05 - Editorial
Problem Link:PracticeContestAuthor:tseccodecellDIFFICULTY:Easy-MediumPREREQUISITES:Traversing array, Binary SearchPROBLEM:Given $N$ values, we have to apply rearrangements by taking $3$ from a value,...
View ArticleSMPAIR - Editorial
Problem link : contestpracticeDifficulty : CakeWalkPre-requisites : SortingProblem : Given a sequence a1, a2, ..., aN. Find the smallest possible value of ai + aj, where 1 ≤ i< j≤ NExplanationThis...
View ArticleT21 - Editorial
PROBLEM LINK:[Contest] T21Author:Nandishwar GargDIFFICULTY:SIMPLEPREREQUISITES:None PROBLEM:You are given two large numbers m and n. You have to multiply m and n then product is needed to be divided by...
View Articlehow can i call inner class method ......in prog.
abstract class AbstractDemo{public abstract void shankar();class Inner { static void show(){ System.out.println("inner class E");} } }class AbstractDemoTest extends AbstractDemo{public void shankar() {...
View Articlespell bob august challenge..whats wrong in my code....the error being shown...
#include<iostream> using namespace std; int check(char exp1[],char expp2[]); int main() { int t; cin>>t;int k=0; int a[k]={0}; while(t-->0) { char exp1[3],expp2[3]; cin>>exp1;...
View Articlewhat 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 ArticleHelp on Fast input/output
can someone explain me what's fast input/output. I m sorta new to this stuff and would really appreciate some help. Thank you.
View ArticleSomeone reply For these test case
In order to test my understanding of problem statement.problem link:- link text 6 3 16 24 60 498 861 589 14 24 62 72 557 819 16 15 69 435 779 232 1 9 19 1 2 3 9 99 999 9 9 9 7 8 9 3 2 5 Output :-5 4 2...
View ArticleKNGPRB – Editorial
PROBLEM LINK:PracticeContestAuthor:Arkapravo GhoshTester:Arkapravo GhoshEditorialist:Arkapravo GhoshDIFFICULTY:MEDIUMPREREQUISITES:Graph, Dijkstra, ImplementationPROBLEM:Given a directed graph, you...
View ArticleGRDPRTY - Editorial
PROBLEM LINK:PracticeContestAuthor:Arkapravo GhoshEditorialist:Arkapravo GhoshDIFFICULTY:EASY PREREQUISITES:Math Triangular NumberPROBLEM:The problem asks to find out the no. of elements in one side of...
View ArticleBRNDG - Editorials
PROBLEM LINK:PracticeContestAuthor:rahul_ojha_07DIFFICULTY:CAKEWALKPREREQUISITES:Binary numbers,Bit ManipulationPROBLEM:Given the total number of biscuits Bruno ate, find the number of days he was...
View ArticleCHFSQN - Editorial
PROBLEM LINK:PracticeContestAuthor:rahul_ojha_07DIFFICULTY: EASYPREREQUISITES: Simple MathPROBLEM: Given the Sequence a1, a2, ..., an and Defining the strength of the sequence to be |a1 - a2| + |a2 -...
View ArticleInvitation 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