Search found 853 matches
- Sat Feb 25, 2017 8:53 pm
- Forum: Volume 4 (400-499)
- Topic: 488 Presentation error
- Replies: 1
- Views: 1542
- Sat Apr 04, 2015 12:28 am
- Forum: C++
- Topic: using & operator
- Replies: 2
- Views: 1574
Re: using & operator
They are not equivalent.lcp wrote:Hi ,
x , y , m , n all lie in range [-10^4 , 10^4] .
so when i did
if ( (x & y) == 0) cout << "divisa ";
i got wrong answer.
But
if ( x== 0 || y== 0) gave okay .
what am i missing ??
Suppose x = 8 and y = 1, then x&y is equal to 0.
- Mon Jul 21, 2014 4:27 am
- Forum: Volume 117 (11700-11799)
- Topic: 11727 - Cost Cutting
- Replies: 7
- Views: 4366
Re: 11727 - Cost Cutting
What are the inputs you tried to test the code?
- Mon Jun 24, 2013 1:56 am
- Forum: Volume 101 (10100-10199)
- Topic: 10137 - The Trip
- Replies: 159
- Views: 65489
Re: 10137- the trip problem
A thread already exists for this topic: http://acm.uva.es/board/viewtopic.php?f=10&t=4055
Search the board first before posting. If one exists, make your post in that one.
Search the board first before posting. If one exists, make your post in that one.
- Sun Jun 09, 2013 4:52 am
- Forum: Volume 103 (10300-10399)
- Topic: 10338 - Mischievous Children
- Replies: 56
- Views: 29052
Re: why i am getting wrong answer for 10338 no problem
http://acm.uva.es/board/viewtopic.php?f=20&t=1353
Search the board first using the search option located at top-right. Don't create a new thread for a problem that already exists. Make your post in an existing thread.
Search the board first using the search option located at top-right. Don't create a new thread for a problem that already exists. Make your post in an existing thread.
- Sat Jun 08, 2013 4:15 am
- Forum: Volume 4 (400-499)
- Topic: 401 - Palindromes
- Replies: 196
- Views: 52005
Re: 401: Palindromes Wrong Answer
http://acm.uva.es/board/viewtopic.php?f=5&t=5863
Search the board first using the 'search' option located at the top right. Don't create a new thread for a problem that already exists. Make your post in an existing thread.
Search the board first using the 'search' option located at the top right. Don't create a new thread for a problem that already exists. Make your post in an existing thread.
- Fri May 31, 2013 3:43 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10783 - Odd Sum
- Replies: 34
- Views: 20129
Re: Odd sum
What is your output for the following input:
2 10
and look for threads related to your problem by using the search option on the top-right. Make your post in an existing thread - don't create a new one!
2 10
and look for threads related to your problem by using the search option on the top-right. Make your post in an existing thread - don't create a new one!
- Mon Mar 25, 2013 7:53 am
- Forum: Other words
- Topic: UVa Online Judge New Platform
- Replies: 0
- Views: 2918
UVa Online Judge New Platform
http://www.indiegogo.com/projects/uva-online-judge-new-platform The current UVa Online Judge platform was written back in 2005, using the technlogies and web concepts available at that time. During the past years the overall online services scenario has changed a lot. The way users interact with in...
Re: Python?
No, UVa doesn't allow python. UVa allows the languages that is permitted in the ACM ICPC World Finals and it doesn't include python.
You can try http://codeforces.com/ to solve problems using python.
You can try http://codeforces.com/ to solve problems using python.
- Mon Feb 25, 2013 3:08 am
- Forum: Volume 119 (11900-11999)
- Topic: 11900 - Boiled Eggs
- Replies: 14
- Views: 3960
Re: 11900 - Boiled Egg
You are assuming that p is not greater than n.
- Sat Jan 19, 2013 5:20 am
- Forum: Bugs and suggestions
- Topic: same code - different time
- Replies: 1
- Views: 2170
Re: same code - different time
was the difference significant?
Re: test
'test' passed ![:)](./images/smilies/icon_smile.gif)
anything special you are testing?
![:)](./images/smilies/icon_smile.gif)
anything special you are testing?
- Tue Oct 30, 2012 8:26 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11362 - Phone List
- Replies: 19
- Views: 11971
Re: 11362 - Phone List
Who said we are sorting each number?
- Mon Oct 29, 2012 10:45 am
- Forum: Volume 113 (11300-11399)
- Topic: 11371 - Number Theory for Newbies
- Replies: 65
- Views: 31391
Re: 11371 - Number Theory for Newbies
Well, it's kind of straight forward.
The first digit should obviously be the smallest to make the the number minimum. Since we aren't allowing leading zeros, so we must place the smallest non-zero digit. Then simply sort the remaining digits in ascending order.
The first digit should obviously be the smallest to make the the number minimum. Since we aren't allowing leading zeros, so we must place the smallest non-zero digit. Then simply sort the remaining digits in ascending order.
- Fri Feb 03, 2012 5:04 am
- Forum: Algorithms
- Topic: graph problem
- Replies: 2
- Views: 5119
Re: graph problem
If the ordering is fixed, then can't the path be found by simply following that order? Say, I have to go from vertex 1 to vertex 5 and the order is (1 3 4 2 5), then the only path is 1->3->4->2->5? Am I missing something here? Could you clarify with an example: what do you mean by "ordering is ...