Search found 14 matches

by tenshi
Tue Sep 17, 2002 1:19 pm
Forum: Volume 103 (10300-10399)
Topic: 10344 - 23 out of 5
Replies: 81
Views: 27413

maybe you divide zero or a very small real number, or sqrt(negative number)
by tenshi
Tue Sep 17, 2002 1:13 pm
Forum: Volume 100 (10000-10099)
Topic: 10001 - Garden of Eden
Replies: 39
Views: 15000

exhausted search is OK if you prune some impossible status. my program run very fast
by tenshi
Tue Sep 17, 2002 1:11 pm
Forum: Volume 100 (10000-10099)
Topic: 10000 - Longest Paths
Replies: 160
Views: 36347

what the answer if source and destination is the same ?
by tenshi
Tue Sep 17, 2002 1:10 pm
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 39900

check this case:

1

4
0 9
0 9
0 9
1 9
by tenshi
Tue Sep 17, 2002 1:05 pm
Forum: Volume 101 (10100-10199)
Topic: 10157 - Expressions
Replies: 23
Views: 12169

"long long" is not enough, you need to calc in big numbers
by tenshi
Tue Sep 17, 2002 12:49 pm
Forum: Pascal
Topic: Unsigned 32 bit integer in Pascal
Replies: 1
Views: 2415

cardinal is also avail in GPC
by tenshi
Tue Sep 17, 2002 12:34 pm
Forum: C++
Topic: need help with cin and blank inputs
Replies: 2
Views: 2331

look at this example :

char s[maxlen];
cin.getline(s,maxlen);
istrstream strin(s);
while(sin>>x) cout<<x<<endl;
by tenshi
Tue Sep 17, 2002 12:32 pm
Forum: C++
Topic: how to use function "random" in vc6.0
Replies: 1
Views: 1864

#include<stdlib.h>
#include<time.h>

int main()
{
srand(time(NULL));
....
....
// rand()%n can get a integer from 0..(n-1)
....
}
by tenshi
Sun Jun 30, 2002 4:35 pm
Forum: Other words
Topic: To Admins: Please kill the non-related threads!!
Replies: 2
Views: 1900

I am very sorry to do that ......
by tenshi
Sun Jun 30, 2002 3:42 pm
Forum: Other words
Topic: Graph problems
Replies: 5
Views: 1909

Some graph problems can be easily solved by DFS. Backtracking is a kind of method to tranverse a search tree. Diffient problems diffient methods. If you want to know more, just visit the following site, you will get reply very soon.( A lot of excellent programmers from China there) Welcome to visit ...
by tenshi
Sun Jun 30, 2002 3:39 pm
Forum: Other words
Topic: when the judge replies - time limit exceed
Replies: 3
Views: 2416

It is suggested that before you code you must think carefully about the time complexity. Some program seems unable to brute force or prune,so there maybe a dynamic programming algorithm or other simple algoritm. Practice more, learn more. If you want to know more, just visit the following site, you ...
by tenshi
Fri Jun 28, 2002 2:47 pm
Forum: Other words
Topic: http://www.ioiforum.org/en/
Replies: 3
Views: 2109

the forum can be viewed now,
but there is a lot of bugs now.
You can try to ask problems there,
I think some excellent students will answer your question!
by tenshi
Tue Jun 25, 2002 10:16 am
Forum: Other words
Topic: http://www.ioiforum.org/en/
Replies: 3
Views: 2109

Olympiad in Informatics player -> OIer
ACM ICPC palyer -> ICPCer


PS: the forum has terminated for some technology reason,
please visit it after I notice you again!
by tenshi
Tue Jun 25, 2002 8:52 am
Forum: Other words
Topic: http://www.ioiforum.org/en/
Replies: 3
Views: 2109

http://www.ioiforum.org/en/

http://www.ioiforum.org/en/

The forum is for internationl discuss!

These days are for test only.

After final publish, there will be many strong OIer / ICPCer there!

Go to advanced search