Search found 14 matches

by AaronWu
Wed Jul 14, 2004 3:51 am
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 16264

Thank you ,I see.
by AaronWu
Tue Jul 13, 2004 5:10 am
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 16264

I'm afraid I don't understand your meaning.
Can you just give me some input cases to show the defect with my codes.
by AaronWu
Mon Jul 12, 2004 9:44 am
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 16264

300- WA ??

What's the trap of the problem?
It runs well on my computer , can anybody tell me the problem..
Thank you in advance.

another question is that the following codes don't concern with C++
but if I take away the first line and submit it for C,it will cause compile error. I am confused :o :o


[c ...
by AaronWu
Tue Feb 10, 2004 12:16 pm
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 71909

Yes,that's the trick I've been stumped for a long time.Now,I pass it too.
We should be more careful when solving this kind of problem. :lol:
by AaronWu
Wed Jan 28, 2004 6:13 am
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79958

Thank you very much indeed.I've never noticed that before :oops:
by AaronWu
Sun Jan 18, 2004 8:50 am
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79958

But what is wrong with the following way to obtain an integer? Aren't they correct?
[cpp]
cin>>n;
or scanf("%d",&n);

[/cpp]
by AaronWu
Sat Jan 17, 2004 3:50 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79958

Thank you,turuthok. :D
I got AC for it now. But if it is not too bothered, would you mind explaining the reason why the online-judge System refuses to accept my code and how this change of code could be accepted again.
:(
by AaronWu
Sat Jan 17, 2004 3:54 am
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79958

Could you show me with a simple example ?(concerning gets(),followed by the atoi() to obtain n...)
Thanks
by AaronWu
Fri Jan 16, 2004 1:01 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79958

I guess it won't advance to the next line or something like that

-turuthok-
I have succeeded solving other problems in the same way before.and they goes so well on the online judge as they work in my computer.So,do you mean that my codes are all right except for the above? :roll:
Looking ...
by AaronWu
Fri Jan 16, 2004 12:58 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79958

I guess it won't advance to the next line or something like that

-turuthok-
I have succeeded solving other problems in the same way before.and they goes so well on the online judge as they work in my computer.So,do you mean that my codes are all right except for the above? :roll:
Looking ...
by AaronWu
Fri Jan 16, 2004 12:56 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79958

I guess it won't advance to the next line or something like that

-turuthok-
I have succeeded solving other problems in the same way before.and they goes so well on the online judge as they work in my computer.So,do you mean that my codes are all right except for the above? :roll:
Looking ...
by AaronWu
Fri Jan 16, 2004 8:20 am
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79958

673Parentheses Balance

I have tried many inputs as are mentioned in the former topics but I still have no idea about WA with my code. Could anybody spare some time checking with my code and tell me the matter with my code? Thank you in advance.
:o
[cpp]
#include <iostream.h>
#include <stdio.h>
int solve(char *);
int ...
by AaronWu
Fri May 16, 2003 3:30 am
Forum: Volume 104 (10400-10499)
Topic: 10473 - Simple Base Conversion
Replies: 46
Views: 21334

Oh,yes.First I should thank you for giving me your advice! But I have found something else wrong with my code
printf("0x%lX\n", t);
beside that I also change function cal() because I did not notice the useage of "A\B\C\D\E\F" and now I got AC for it.
8)[/cpp][/list]
by AaronWu
Sat May 10, 2003 4:44 am
Forum: Volume 104 (10400-10499)
Topic: 10473 - Simple Base Conversion
Replies: 46
Views: 21334

10473 WA??? Please help me!

:o
What's Wrong with my code?
It runs correctly in my computer,but how can I get a WA for it?
Seek help!!!
here's my code :


[cpp]#include <iostream.h>
#include <stdio.h>
long pow(int, int);
void cal(void);
void change(int);
int main()
{ char ch;
ch = getchar();
while(1)
{
if (ch ...

Go to advanced search