Hi! I've tried all your i/o you write in this post and i get the same results as you, and i still get WA. :(
Can anybody post more sample inputs or tell me which are the difficult inputs? Thank you a lot and sorry about my english!!
Do you tried Jan's last post?
As an aside, I think this problem ...
Search found 34 matches
- Sun Aug 19, 2007 6:28 pm
- Forum: Volume 3 (300-399)
- Topic: 339 - SameGame Simulation
- Replies: 26
- Views: 15559
- Mon Apr 30, 2007 5:21 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11175 - From D to E and Back
- Replies: 18
- Views: 10661
- Sat Feb 25, 2006 12:40 am
- Forum: Volume 6 (600-699)
- Topic: 615 - Is It A Tree?
- Replies: 71
- Views: 36107
- Thu Jan 05, 2006 11:27 am
- Forum: Volume 1 (100-199)
- Topic: 132 - Bumpy Objects
- Replies: 38
- Views: 10690
- Tue Nov 15, 2005 11:01 am
- Forum: Off topic (General chit-chat)
- Topic: I win !!
- Replies: 361
- Views: 155496
- Sun Nov 06, 2005 4:09 am
- Forum: Algorithms
- Topic: help to solve a common problem
- Replies: 7
- Views: 2714
- Sun Nov 06, 2005 4:00 am
- Forum: C++
- Topic: Who has easier variant?
- Replies: 4
- Views: 3062
- Fri Oct 28, 2005 7:20 pm
- Forum: C++
- Topic: Who has easier variant?
- Replies: 4
- Views: 3062
- Fri Oct 28, 2005 7:17 pm
- Forum: Off topic (General chit-chat)
- Topic: I win !!
- Replies: 361
- Views: 155496
- Fri Oct 28, 2005 6:38 pm
- Forum: Algorithms
- Topic: help to solve a common problem
- Replies: 7
- Views: 2714
its idea is:
when you can make some number j from arr[0]~arr[i-1], you can make the number j+arr from arr[0]~arr by add the number arr into the number chosen above to make j.
So we use an array to record if we can make some particular number, using sets of number arr[0]; arr[0]~arr[1]; arr[0]~arr[2 ...
when you can make some number j from arr[0]~arr[i-1], you can make the number j+arr from arr[0]~arr by add the number arr into the number chosen above to make j.
So we use an array to record if we can make some particular number, using sets of number arr[0]; arr[0]~arr[1]; arr[0]~arr[2 ...
- Fri Oct 28, 2005 6:27 pm
- Forum: Other words
- Topic: About new accounts' "Access Denied" Problem
- Replies: 2
- Views: 2231
About new accounts' "Access Denied" Problem
Recent days I introduced this site to some of my friend. After they had registered(and received an ID <45000), they told me that after submittion they received an "Access Denied" reply. I've read the article How to understand the Online Judge answers , it says:
Access Denied (AD): Your Internet ...
Access Denied (AD): Your Internet ...
- Fri Oct 28, 2005 6:13 pm
- Forum: Other words
- Topic: Runtime Error
- Replies: 2
- Views: 2129
The old Judge status system (which is still running now at here) will say why it's crashed (its signal) when received a Runtime Error (like SIGSEGV or SIGFPE).
Can the new status system add in this feature?
Can the new status system add in this feature?
- Mon Sep 05, 2005 6:55 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10800 - Not That Kind of Graph
- Replies: 48
- Views: 29718
- Sat Aug 20, 2005 3:45 pm
- Forum: Volume 6 (600-699)
- Topic: 673 - Parentheses Balance
- Replies: 243
- Views: 79324
Re: help WAAAAAAA
scanf("%d", &cas); t = getchar(); t = getchar();
I didn't look through your recursive body, but this might be the problem of your code. A newline in Un*x is represented only by a character '\n', but in Windows, it's represented by '\r' '\n'. Thus when your program runs under Un*x, the first ...
- Tue Aug 16, 2005 11:59 am
- Forum: Volume 1 (100-199)
- Topic: 132 - Bumpy Objects
- Replies: 38
- Views: 10690