Thanks for Artikali
but i key in these test data
ouput:
i don't know where is wrong?
r 8.5 17.0 25.5 -8.5
r 0.0 10.3 5.5 0.0
r 2.5 12.5 12.5 2.5
*
2.0 2.0
Point 1 is contained in figure 2
4.7 5.3
Point 2 is contained in figure 2
Point 2 is contained in figure 3
6.9 11.2
Point 3 is contained ...
Search found 4 matches
- Wed Jul 05, 2006 6:51 pm
- Forum: Volume 4 (400-499)
- Topic: 476 - Points in Figures: Rectangles
- Replies: 87
- Views: 19277
- Wed Jul 05, 2006 3:52 pm
- Forum: Volume 4 (400-499)
- Topic: 476 - Points in Figures: Rectangles
- Replies: 87
- Views: 19277
476 WA Please help me
Who can help me,i always get WA,but i don't know why??
please help me ..Thanks for all.
#include<iostream>
using namespace std;
int main()
{
char r;
int i=0,count=0;
int count2=0;
float a,b,c,d;
float x[10][2]={0};
float y[10][2]={0};
while(cin>>r){
if(r=='*')
break;
else ...
please help me ..Thanks for all.
#include<iostream>
using namespace std;
int main()
{
char r;
int i=0,count=0;
int count2=0;
float a,b,c,d;
float x[10][2]={0};
float y[10][2]={0};
while(cin>>r){
if(r=='*')
break;
else ...
- Tue Feb 14, 2006 2:47 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 117725
- Mon Feb 13, 2006 11:12 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 117725
102 help me always "Compile error"
I always get Compile error ,but i don't know why??
please help me ,i'm new to ACM ><
thanks
#include <stdio.h>
int main(void)
{
long int a[9];
long int b[6];
long int MIN=2147483647;
int MINNUM;
while(scanf("%ld%ld%ld%ld%ld%ld%ld%ld%ld", &a[0], &a[1], &a[2], &a[3], &a[4], &a[5 ...
please help me ,i'm new to ACM ><
thanks
#include <stdio.h>
int main(void)
{
long int a[9];
long int b[6];
long int MIN=2147483647;
int MINNUM;
while(scanf("%ld%ld%ld%ld%ld%ld%ld%ld%ld", &a[0], &a[1], &a[2], &a[3], &a[4], &a[5 ...