Search found 9 matches

by ywliu
Fri Oct 04, 2002 2:33 am
Forum: Java
Topic: Help!! java complier problem
Replies: 2
Views: 2722

Yes, i use the command prompt.
by ywliu
Thu Oct 03, 2002 12:24 pm
Forum: Java
Topic: Help!! java complier problem
Replies: 2
Views: 2722

Help!! java complier problem

I have a problem about java's complier.

i complier a simple program. "Hello World!" in my new computer. and it cost about 20 secs.

My java version is J2SDK1.4.0_02.

i try Windows XP and Windows 2000 professional , and i get the same result.

i hope anyone can tell me how to solve. thx.

ywLiu ...
by ywliu
Fri Sep 13, 2002 2:39 pm
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 51038

i already tried to BF solution before DP solution.
and sample test is all right.
0.20 4
2.00 293
50.00 513269191

but it also got WA.

so......I really don't know where the problem.

it's my code using BF solution.

[cpp]
#include<iostream>
#include<string>
using namespace std;

long value ...
by ywliu
Fri Sep 13, 2002 6:37 am
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 51038

prob 147 help!!

I use Dynamic Programming.....and sample test is all right.
0.20 4
2.00 293
50.00 513269191

but i got WA from beginning to end.

someone can tell me why i got WA.

[cpp]
#include<iostream>
#include<string>
using namespace std;

long value,count;
long m[10][1001];
long v[10]={1,2,4,10,20,40,100 ...
by ywliu
Sun Sep 01, 2002 11:24 am
Forum: Volume 1 (100-199)
Topic: 110 - Meta-Loopless Sorts
Replies: 92
Views: 16464

but i have a new thorny problem now.

during solving program, i always send solved program. and get WA..

and i think my program is no problem. and i have some test data.

and all result is right . but always get WA.

i already have four programs with problem like above description

it is respective ...
by ywliu
Sun Sep 01, 2002 11:00 am
Forum: Volume 1 (100-199)
Topic: 110 - Meta-Loopless Sorts
Replies: 92
Views: 16464

oh....i got it.....and accept.......
and i will not take the same mistake.
thx....
by ywliu
Fri Aug 23, 2002 5:12 pm
Forum: Volume 1 (100-199)
Topic: 114 - Simulation Wizardry
Replies: 80
Views: 16320

PMNOX~~

your source code have a problem.
look original question carefully..

Sample input 's first line
4 4

it respresent 4*4 grid ...but col1 col4 row1 row4 is wall. not col5 row5.
so you can fix and try again....good luck....



[cpp]
for(int i=0;i<=x+1;i++)
{
A [0].bouncer = true;
A [0 ...
by ywliu
Fri Aug 23, 2002 5:12 am
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 32432

112 -Tree Summing [runtime-error](SIGSEGV)

i don't find where run-time error....
who can tell me why..

[cpp]
#include<iostream>
#include<string>
#include<queue>
using namespace std;

queue<int> qu;
string sData="";
int start=0;
int rightx=0;
int tree_length=0;
int *position;

void input_data();
void run(string s1);
void cut(string s1);
int ...
by ywliu
Thu Aug 22, 2002 7:36 am
Forum: Volume 1 (100-199)
Topic: 110 - Meta-Loopless Sorts
Replies: 92
Views: 16464

110 i don't find bug....

it always respound "Wrong Answer"....but i really don't find bug...
anyone can tell me why...


[cpp]


#include<iostream>
//#include<fstream>
#include<string>
#include<vector>
using namespace std;

//ifstream cin("acm_110_in.txt");
//ofstream cout("acm_110_out.txt");

int n;
int iBlankNum;
string ...

Go to advanced search