Code not compiling for CHN15A, what is wrong with my solution working finein...
Compilation Error:Main.java:6: error: class MutatedMinions is public, should be declared in a file named MutatedMinions.java public class MutatedMinions { ^ 1 errorMy Solution is pasted bellowimport...
View ArticleSample input don't make sense , unless table is round. (not specified)
First sample input last query is 3,0 decoded query is 3,1 Table is [c,d] = [1,2] [3,1] [1,1] So answer should be 2, unless table is round so he can pick up last and first, sums up to 3.
View ArticleWhat does WA mean in a challenge problem?
Problem: https://www.codechef.com/DEC18B/problems/DLDAG I am getting WA in this. This is the first time I'm attempting a challenge problem. I had the impression that challenge problems have only...
View ArticleGiving WA(-1.0000)
I have submitted my code in java for the question INTXOR in december challenge. It is giving me AC for some tasks and WA(-1.0000) for others. If i submit the same code again, it is giving me different...
View ArticleAFCP- A Competitive Programming Automation Package for text editor Atom.
Hello,For the past few days I have been working for an automation package for text editor Atom.This started as a way to improve speed during contests and now I have decided to release this as a...
View ArticleICPC regional
When is replay contest of ICPC kharagpur regional contest Pls provide link if anyone knows
View ArticleAttached code seems to be working fine but not accepted for A game of...
include<iostream>include<string>using namespace std; int main() { int n,i,j,c,a1,a2; cin>>n; string s; for(i=0;i<n;i++) {="" c="0;" cin="">>s; j=0; while( s[j]=='.') j++;...
View Articleintxor december long 2018 explain
it says that the question we ask is "1 i j k" where i!=j, j!=k and k!=i but subtask 1 says that i=j=k how?
View Articlemeaning of accuracy header in practice problems section
I know that while solving practice problems we can sort them in order of successful submissions or that of accuracy. I am confused about meaning of accuracy here. It may mean 2 things 1) percentage of...
View ArticleHelp for editorials of icpc amritapuri regionals 2017
Please give link for editorial of poetic word and nested candy boxes from icpc amritapuri regionals 2017.https://vjudge.net/problem/1369932/originhttps://vjudge.net/problem/1369898/originIf anyone...
View ArticleDECEMBER LONG CHALLENGE 2018
@admin please extend the contest by two days. This contest was quite interesting and we want more time to invest on its questions. please do help..
View Articleruntime error(sigsegv)
include <stdio.h>include <stdlib.h>int main() { int a[100000]; long long unsigned int b; int i,j,t; scanf("%llu",&b); for(i=0;i<b;i++) {="" scanf("%d",&a[i]);="" }=""...
View ArticleInteractive Problems and the way to deal with them!
Hello FolksToday, I'm going to write my first blog on Interactive problems and all you need to know about them.First of all, Let us understand what are interactive problems.Interactive problem is...
View ArticleLooking for ideas.
I have been trying to solve this problem for a while now but I've ran out of ideas so maybe if anyone have any thoughts for the solution it would be of great help.Cheers!
View ArticleTime Limit Exceeded
I have solved a question named NOMATCHES. It is showing TLE error after optimising the code as much as I can ,suggest me any way to solve this problem using python. My code is : from itertools import...
View ArticleNot able to understand test case of colorblind feast
I feel the answer of 2nd input should be 5 and last case of 1st input should be 2(this will be 3 if table is round).Please tell whether my understanding of question is wrong or anything else. Thanks
View Articlewhy am i getting wrong answer?
beginner problem :THE DEADLY SINS https://www.codechef.com/problems/SINS/my solution:- https://www.codechef.com/viewsolution/21987190
View Articlewhy am i getting wrong answer despite correct output?
https://www.codechef.com/viewsolution/21985729 this is my solution for the following question https://www.codechef.com/problems/NOMATCH I am getting the correct output on dry run of the code but it...
View ArticlePERIODCN Hint
Could someone give some hint to this problem from ICPC Asia-Kharagpur Onsite Replay Contest 2018,https://www.codechef.com/KGP18ROL/problems/PERIODCNSince N can be 10^9, pre-calculating the solutions...
View ArticleA Game of Robots - Got a problem with the logic
A Game of RobotsWhere is the logic going wrong. Give me a counter example.while(t--){ string s; vector < pair<int,int> > robot; cin>>s; for(int i=0;i<s.length();i++){...
View Article