Can anyone tell me the output for:
cd cde #
Please give me more test data. Thanks.
Search found 38 matches
- Tue Mar 02, 2004 11:50 am
- Forum: Volume 103 (10300-10399)
- Topic: 10352 - Count the eWords
- Replies: 30
- Views: 14299
- Thu Feb 26, 2004 9:59 am
- Forum: Volume 6 (600-699)
- Topic: 612 - DNA Sorting
- Replies: 122
- Views: 29698
- Wed Feb 25, 2004 5:04 am
- Forum: Volume 6 (600-699)
- Topic: 612 - DNA Sorting
- Replies: 122
- Views: 29698
Can anyone tell me what's wrong with my code? [c] #include <stdio.h> struct s { int serno; char dna[51]; int inversion; }a[100]; int n,m; int getdna(char x) { switch(x) { case 'A': return 0; case 'C': return 1; case 'G': return 2; case 'T': return 3; default : abort(); } } int count_sort(char *str) ...
- Mon Dec 01, 2003 7:40 am
- Forum: Volume 104 (10400-10499)
- Topic: 10465 - Homer Simpson
- Replies: 75
- Views: 32429
- Mon Nov 24, 2003 10:06 am
- Forum: Volume 5 (500-599)
- Topic: 565 - Pizza Anyone?
- Replies: 12
- Views: 5894
565 Pizza Anyone?
I caculate all the possible combination topping for the constraints.
It works fine. But it is not fast enough. I got TLE.
Can anyone tell me your idea about this problem?
It works fine. But it is not fast enough. I got TLE.
![:cry:](./images/smilies/icon_cry.gif)
Can anyone tell me your idea about this problem?
- Mon Nov 24, 2003 9:57 am
- Forum: Volume 3 (300-399)
- Topic: 347 - Run
- Replies: 20
- Views: 8402
- Fri Jun 20, 2003 5:40 am
- Forum: Volume 104 (10400-10499)
- Topic: 10499 - The Land of Justice
- Replies: 51
- Views: 25953
- Thu Jun 05, 2003 12:34 pm
- Forum: Volume 5 (500-599)
- Topic: 548 - Tree
- Replies: 23
- Views: 13690
It got RunTime Error, but I did nothing but input string. [c]#include <stdio.h> #define StrMax 200000000 int main() { char s[StrMax]; while (gets(s)) { /* do nothing */ } }[/c] I don't know why it get Runtime Error if I set the max length of string to 200000000. But when I set the max length of str...
- Thu Jun 05, 2003 12:25 pm
- Forum: Volume 5 (500-599)
- Topic: 571 - Jugs
- Replies: 24
- Views: 15103
- Tue Jun 03, 2003 11:29 am
- Forum: Volume 5 (500-599)
- Topic: 548 - Tree
- Replies: 23
- Views: 13690
I have found what wrong with my code. The error is the input. I am very surprised after I submit the following code. It got RunTime Error, but I did nothing but input string. :evil: [c]#include <stdio.h> #define StrMax 200000000 int main() { char s[StrMax]; while (gets(s)) { /* do nothing */ } }[/c]...
- Mon Jun 02, 2003 11:19 am
- Forum: Volume 5 (500-599)
- Topic: 548 - Tree
- Replies: 23
- Views: 13690
I always got Runtime Error (Invalid memory reference), but I do not know what is wrong. I think this problem is similar to ACM 536 Tree Recovery which I got AC. My algorithm is make the tree by the 2 given inorder and postorder traversal sequences. And then use inorder dfs to travel the tree and fin...
- Tue May 27, 2003 6:32 am
- Forum: Volume 8 (800-899)
- Topic: 825 - Walking on the Safe Side
- Replies: 38
- Views: 25663
- Tue May 27, 2003 6:26 am
- Forum: Volume 8 (800-899)
- Topic: 825 - Walking on the Safe Side
- Replies: 38
- Views: 25663
- Tue May 27, 2003 6:22 am
- Forum: Volume 101 (10100-10199)
- Topic: 10198 - Counting
- Replies: 30
- Views: 42262
- Wed May 21, 2003 12:30 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10198 - Counting
- Replies: 30
- Views: 42262
10198 Counting
Can anyone tell me how to solve this?