uva contest site?
sorry, it is off-topic, but is it new uva online contest site :codemarshal.comcouldnt reach, though the site is not down: http://www.isitdownrightnow.com/codemarshal.com.html
View ArticleCode gives SIGSEGV error even though its running fine on ideone and devc++
Here's the code... '#include<stdio.h> '#include<stdlib.h> int main() { int p=0, q=0, i, j=0, k=0, m, n, l=0; double count=0; //Defines the number of rows of a 2D array using pointer char...
View ArticleSEAPERM - Editorial
PROBLEM LINK:PracticeContestAuthor:Sergey NaginTester:Shiplu Hawlader and Mahbubul HasanEditorialist:Lalit KunduDIFFICULTY:CHALLENGE PREREQUISITES:Heuristic, Greedy, Mixure of Methods, Test Generation...
View ArticleSIGSEV error in GERALD08.
This is my submission of GERALD08 http://www.codechef.com/viewsolution/3773036 , its running correct in my test cases but giving RE. Is it because my recursive dfs or something else.Can you pl tell why...
View ArticleWhy was my solution ruled as wrong (BINTREE)?
#include <stdio.h> #include <stdlib.h> #include <math.h> #define MAX 1000000000 #define maxn 100000 int main (void) { int N; int i, j, br=0; int k=0, flag=0, pom; scanf("%d", &N);...
View ArticleWhat should I do to improve my performance on CodeChef?
I have been solving questions on CodeChef since almost an year,i have solved around 100 problems till now, and i solve an average of 3 questions per contest. But i don't know how to improve myself, Can...
View ArticleDebugger for C/C++ programmers.
I sometime finds very difficult to debug my code. Please suggest a good c/c++ debugger .
View ArticleHow to run all the test cases using Kawigi Edit in Topcoder(WINDOWS)
Hai i am using kawigiedit as the plugin for the topcoder applet...it has helped me a lot!But i dont know how to run all the test cases at one stretch while I am in windows...When i try this i am...
View ArticleCNPIIM says wrong answer, but I checked it!
Usually when it says "wrong answer," I double check everything because I know something is wrong. But in this case, on my last submission I had, what I believe, to be perfect answers.I went through the...
View ArticleNEXTNUM - Editorial
PROBLEM LINK:PracticeContestAuthor:Vineet PaliwalTester:Roman RubanenkoEditorialist:Jingbo ShangDIFFICULTY:CAKEWALK PREREQUISITES:Factorial, Enumeration, BruteforcePROBLEM:Given a number with D digits,...
View Articlepaying up wrong answer
#include<iostream> #include<math.h> using namespace std; int main(){ int ans,size,test; cin>>test; for(int i=0;i<test;i++) { cin>>size; cin>>ans; int a[size]; for(int...
View ArticleSSTORY - Editorial
PROBLEM LINK:PracticeContestAuthor:Bruno OliveiraTester:Mahbubul HasanEditorialist:Jingbo ShangDIFFICULTY:MediumPREREQUISITES:Suffix Array, Suffix Automaton, Binary Search, HashPROBLEM:Find the longest...
View ArticleTLE in WITMATH
How can I further optimise my code?I've got several TLE'S in it.I have used Rabin-Miller primality testing.Here's my link to code:http://www.codechef.com/viewsolution/3774210
View Articleto check if its leap year
any year is input through the keyboard. write a program to determine wheter it's a leap year or not? 1) Using modulus operator. 2) Using && amd || operators.
View ArticleNo Editorials for GERALD08 and LMATRIX3
When will the Editorials for the last two problems of APRIL14 long challenge GERALD08 and LMATRIX3 will be posted ??
View ArticleLife,Universe and Everything
Please tell me why this shows runtime error.......import java.util.ArrayList; import java.util.Scanner; class Life_Universe_And_Everything { ArrayList<Integer> list=new...
View ArticleCan solve, but with a lot of WAs. How to improve?
I have been doing questions on SPOJ and have found that I can do most questions, but with a lot of WAs. It takes me anything from 1-5 WAs to get an AC. But the important part is that I can do it...
View ArticleGERALD08 - Editorial
PROBLEM LINK:PracticeContestAuthor:Gerald AgapovTester:Shiplu Hawlader and Mahbubul HasanEditorialist:Lalit KunduDIFFICULTY:MEDIUM-HARD PREREQUISITES:Blue-Red Hackenbush DFS, Graphs PROBLEM:Given a...
View Articlehow to use header file
given below is a code which is used for the transmission and the reception of data by motes. i have scrubbed the irrelevant part #include<msp430.h> #include<stdio.h> #include "contiki.h"...
View ArticleSmall factorial
i have run this code in my compiler it work fine till its upper limit as per given in the question. But codechef gives it wrong every time. please any body help. the link to the question given...
View Article