Search found 9 matches
- Tue Oct 05, 2010 1:04 pm
- Forum: Volume 118 (11800-11899)
- Topic: 11852 - Knight's Trip
- Replies: 7
- Views: 4591
Re: 11852 - Knight's Trip
Thank you very much.
- Mon Oct 04, 2010 4:52 pm
- Forum: Volume 118 (11800-11899)
- Topic: 11852 - Knight's Trip
- Replies: 7
- Views: 4591
11852 - Knight's Trip
Hi,
Any Hints How to solve this problem?
http://uva.onlinejudge.org/contests/263 ... 11852.html
Thanks in Advance
Any Hints How to solve this problem?
http://uva.onlinejudge.org/contests/263 ... 11852.html
Thanks in Advance
- Wed Sep 22, 2010 4:28 pm
- Forum: Volume 118 (11800-11899)
- Topic: 11843 - Guessing Game
- Replies: 10
- Views: 4894
Re: 11843 - Guessing Game
Got it. Thanks hongor ahaa.
- Wed Sep 22, 2010 4:41 am
- Forum: Volume 118 (11800-11899)
- Topic: 11847 - Cut the Silver Bar
- Replies: 11
- Views: 5808
Re: 11847 Cut the Silver Bar
I got the answer.
Optimal solution is divide 1,2,4,8,... and so on.
When input is 10 answer becomes 3.
It means answer is log2(n).
Optimal solution is divide 1,2,4,8,... and so on.
When input is 10 answer becomes 3.
It means answer is log2(n).
- Tue Sep 21, 2010 4:11 pm
- Forum: Volume 118 (11800-11899)
- Topic: 11843 - Guessing Game
- Replies: 10
- Views: 4894
Re: 11843 - Guessing Game
How to solve using dp? I'm stuck at it.
- Tue Sep 21, 2010 3:47 pm
- Forum: Volume 118 (11800-11899)
- Topic: 11847 - Cut the Silver Bar
- Replies: 11
- Views: 5808
Re: 11847 Cut the Silver Bar
I think it's wrong. I'm getting WA too.
When Input is 10 answer is 4. Is it true???

When Input is 10 answer is 4. Is it true???
- Tue Aug 24, 2010 5:30 am
- Forum: Volume 113 (11300-11399)
- Topic: 11386 - Triples
- Replies: 23
- Views: 10981
- Tue Aug 24, 2010 5:20 am
- Forum: Volume 113 (11300-11399)
- Topic: 11353 - A Different Kind of Sorting
- Replies: 17
- Views: 9478
Re: 11353 - A different kind of Sorting
My code runs in 11.094sec
/*
NAME : Nursoltan
PROB :
LANG : C++
*/
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <iostream>
#include <map>
#include <set>
#include ...
/*
NAME : Nursoltan
PROB :
LANG : C++
*/
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <iostream>
#include <map>
#include <set>
#include ...
- Fri Aug 20, 2010 4:29 am
- Forum: Volume 113 (11300-11399)
- Topic: 11345 - Rectangles
- Replies: 27
- Views: 11523
Re: 11345 - Rectangles
Hi everyone.
I got Wa and it's frustrating me(
)
What's wrong in this code:
Thanks in Advance.
I got Wa and it's frustrating me(

What's wrong in this code:
Code: Select all
Acc