turuthok wrote:Looks like you didn't skip illegal operations.
-turuthok-
Search found 2 matches
- Wed Feb 26, 2003 7:31 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 110646
- Mon Feb 24, 2003 1:12 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 110646
101 in java... break my head... dont know why i have a WA
here is my code... something wrong???
[java]
import java.util.*;
import java.io.*;
class pos
{
private int x;
private int y;
pos(int posx, int posy)
{
x = posx;
y = posy;
}
void setpos(int posx, int posy)
{
x = posx;
y = posy;
}
int getposx(){return x;}
int getposy(){return y;}
}
class ...
[java]
import java.util.*;
import java.io.*;
class pos
{
private int x;
private int y;
pos(int posx, int posy)
{
x = posx;
y = posy;
}
void setpos(int posx, int posy)
{
x = posx;
y = posy;
}
int getposx(){return x;}
int getposy(){return y;}
}
class ...