Search found 12 matches

by JiaYun
Mon May 31, 2004 1:13 am
Forum: Volume 3 (300-399)
Topic: 356 - Square Pegs And Round Holes
Replies: 41
Views: 10428

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.
by JiaYun
Sat May 29, 2004 3:06 am
Forum: Volume 3 (300-399)
Topic: 356 - Square Pegs And Round Holes
Replies: 41
Views: 10428

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 ...
by JiaYun
Tue May 25, 2004 9:51 pm
Forum: Volume 4 (400-499)
Topic: 445 - Marvelous Mazes
Replies: 93
Views: 21928

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 ...
by JiaYun
Mon May 12, 2003 4:41 pm
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 43837

Thank you. I will reconsider it when I recover from the beat. :o :P
by JiaYun
Thu May 08, 2003 6:29 am
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 43837

so, what difference between your AC code and my first code :roll:

The judge fooled me. :cry:
by JiaYun
Tue May 06, 2003 7:17 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 69482

Thank you, I will check it more closely and post a new result. :)
by JiaYun
Tue May 06, 2003 5:00 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 69482

You mean the maximum length of each line? I modified it to 10001, but still WA.... :cry:
by JiaYun
Tue May 06, 2003 4:48 pm
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 43837

I modified the code. Now, the ouput is

Code: Select all

4 9339
5 45254
3 6666
0 2
0 99
1 4000000004
But it's still WA.... :cry:
by JiaYun
Sun May 04, 2003 12:53 am
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 43837

10018 WA

I hava tested this input

Code: Select all

6
195
265
750
2
99
4000000000
and the output is:

Code: Select all

4 9339
5 45254
3 6666
1 4
6 79497
1 4000000004
It's still WA..... :cry:

[java]deleted
[/java]
by JiaYun
Sat May 03, 2003 4:39 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 152630

Input:

Code: Select all

4 1 4 2 3
5 1 4 2 -1 6
Your program will give 3 results:

Code: Select all

Jolly
Not jolly
Not jolly
Perhaps, this problem should be fixed first. :oops:
by JiaYun
Fri May 02, 2003 5:26 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 69482

Wa Wa Wa

Still WA....:cry:

[cpp]deleted
[/cpp]
by JiaYun
Fri May 02, 2003 3:16 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 69482

10062 WA

As comments, I hava tried several ways. But it's still WA.... :cry:

[cpp]
deleted
[/cpp]

Go to advanced search