Search found 5 matches
- Sat Dec 02, 2006 8:30 am
- Forum: Volume 5 (500-599)
- Topic: 501 - Black Box
- Replies: 35
- Views: 17029
501 strange
it is strange that i use vector<int> and get AC but if i use an int array ,i get an WA.i 've found that those two code must be different during the running of the program: int a[30005]; for(i = 0;i < m;++i) { int * pp = lower_bound(a, a + i, a[i]); int pos = pp - a; int temp = a[i]; memcpy(a + pos +...
- Mon Oct 10, 2005 2:15 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10720 - Graph Construction
- Replies: 49
- Views: 31764
10720 WA
Could anyone tell me the content of the erdos-gallai theorem? thanks.
- Fri Feb 11, 2005 7:46 pm
- Forum: Volume 1 (100-199)
- Topic: 107 - The Cat in the Hat
- Replies: 278
- Views: 26846
thank you very much.

- Fri Feb 11, 2005 7:11 pm
- Forum: Off topic (General chit-chat)
- Topic: about a problem.(I'v copied it and it's solution)
- Replies: 0
- Views: 2513
about a problem.(I'v copied it and it's solution)
It's name is Subway.I'v copied it and it's solution below,but cannot understand at the position '*'; ############################################### Subway Subway trains are meant to move people as quickly, safely, and comfortably as possible from station to station. Although the train drivers' unio...
- Mon Feb 07, 2005 4:41 am
- Forum: Volume 1 (100-199)
- Topic: 107 - The Cat in the Hat
- Replies: 278
- Views: 26846
about 107,thanks.
I can't understand this problem. :( what does this mean? "The number of cats inside each (non-smallest) cat's hat is a constant, N. The height of these cats-in-a-hat is times the height of the cat whose hat they are in. The smallest cats are of height one; these are the cats that get the work d...