Page 1 of 1

193 - Graph Coloring(Solved)

Posted: Mon Aug 18, 2008 9:48 pm
by WillWin
This is my C code

Code: Select all

remove after AC
But I got WA many times and did't know where was error
I find something weird that
I submit in PKU http://acm.pku.edu.cn/JudgeOnline/ and it got accepted
PKU Prob.ID:1419
so I think judge doesn't completely conclude all possible answer.

Re: 193 - Graph Coloring

Posted: Mon Aug 18, 2008 11:58 pm
by Carlos
Maybe our test cases are more exhaustive. I'm 99.99 certain judge's test cases are ok since nobody else complained about that particular problem in the last 8 years.

I'll have a look at it whenever I have time.

Re: 193 - Graph Coloring

Posted: Wed Aug 20, 2008 6:03 am
by DJWS
The code will lead to memory leaking.

Re: 193 - Graph Coloring

Posted: Wed Aug 20, 2008 9:58 am
by WillWin
After my friend debugged , I'm sorry that I forgot to clean memory (or reset state) :cry: .

I think UVa has more good quality than PKU. :D