to UFP2161:
I modified the cout code and got AC now, thank you!
to Mohammad Mahmudur Rahman:
Thanks for your suggestion, I will try to find the formulas.
Search found 12 matches
- Mon May 31, 2004 1:13 am
- Forum: Volume 3 (300-399)
- Topic: 356 - Square Pegs And Round Holes
- Replies: 41
- Views: 9816
- Sat May 29, 2004 3:06 am
- Forum: Volume 3 (300-399)
- Topic: 356 - Square Pegs And Round Holes
- Replies: 41
- Views: 9816
356 - Square Pegs And Round Holes
My program has the same output with an AC code from n = 1 to n = 150, but I can't understand why it got WA. [cpp]#include <iostream> using namespace std; int main(void) { int n; bool first = true; while (cin >> n) { if (!first) cout << endl; first = false; double radiusp2 = n; radiusp2 -= 0.5; radiu...
- Tue May 25, 2004 9:51 pm
- Forum: Volume 4 (400-499)
- Topic: 445 - Marvelous Mazes
- Replies: 93
- Views: 19910
445 wrong sample output or incorrect judgement
output the same with sample output got PE http://acm.uva.es/p/v4/445.html T TTTTT T T TT T T TT T T T TTT T T T T TTTTT*T XX X XXXX X<end of line> this one got AC T TTTTT T T TT T T TT T T T TTT T T T T TTTTT*T XX XXXXX X<no end of line> I opine that the judgement is incorrect, because of this descr...
- Mon May 12, 2003 4:41 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10018 - Reverse and Add
- Replies: 169
- Views: 39298
- Thu May 08, 2003 6:29 am
- Forum: Volume 100 (10000-10099)
- Topic: 10018 - Reverse and Add
- Replies: 169
- Views: 39298
- Tue May 06, 2003 7:17 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10062 - Tell me the frequencies!
- Replies: 235
- Views: 64291
- Tue May 06, 2003 5:00 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10062 - Tell me the frequencies!
- Replies: 235
- Views: 64291
- Tue May 06, 2003 4:48 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10018 - Reverse and Add
- Replies: 169
- Views: 39298
I modified the code. Now, the ouput is
But it's still WA.... ![:cry:](./images/smilies/icon_cry.gif)
Code: Select all
4 9339
5 45254
3 6666
0 2
0 99
1 4000000004
![:cry:](./images/smilies/icon_cry.gif)
- Sun May 04, 2003 12:53 am
- Forum: Volume 100 (10000-10099)
- Topic: 10018 - Reverse and Add
- Replies: 169
- Views: 39298
10018 WA
I hava tested this input
and the output is:
It's still WA.....
[java]deleted
[/java]
Code: Select all
6
195
265
750
2
99
4000000000
Code: Select all
4 9339
5 45254
3 6666
1 4
6 79497
1 4000000004
![:cry:](./images/smilies/icon_cry.gif)
[java]deleted
[/java]
- Sat May 03, 2003 4:39 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 143563
Input:
Your program will give 3 results:
Perhaps, this problem should be fixed first. ![:oops:](./images/smilies/icon_redface.gif)
Code: Select all
4 1 4 2 3
5 1 4 2 -1 6
Code: Select all
Jolly
Not jolly
Not jolly
![:oops:](./images/smilies/icon_redface.gif)
- Fri May 02, 2003 5:26 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10062 - Tell me the frequencies!
- Replies: 235
- Views: 64291
Wa Wa Wa
Still WA....
[cpp]deleted
[/cpp]
![:cry:](./images/smilies/icon_cry.gif)
[cpp]deleted
[/cpp]
- Fri May 02, 2003 3:16 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10062 - Tell me the frequencies!
- Replies: 235
- Views: 64291
10062 WA
As comments, I hava tried several ways. But it's still WA....
[cpp]
deleted
[/cpp]
![:cry:](./images/smilies/icon_cry.gif)
[cpp]
deleted
[/cpp]