Search found 18 matches

by Carunty
Sun Oct 14, 2007 6:15 pm
Forum: Volume 103 (10300-10399)
Topic: 10378 - Complex Numbers
Replies: 25
Views: 16042

I also try many time in this question, but all WA.
I know that it is a precision problem after read these post.

Can anyone help me improve the precision?

#include <iostream>
#include <stdio.h>
#include <algorithm>
#include <cmath>
using namespace std;

struct Complex{
double x,y;
bool operator ...
by Carunty
Thu Sep 13, 2007 5:11 pm
Forum: Bugs and suggestions
Topic: 740, WA after changing the judge
Replies: 1
Views: 1712

740, WA after changing the judge

I have re-submitted the program. I find it is WA now.
Do another people also face this problem?
by Carunty
Wed Sep 05, 2007 2:08 pm
Forum: Volume 112 (11200-11299)
Topic: 11232 - Cylinder
Replies: 34
Views: 18866

Thank you for Jan.

It is a logic error rather than precision error.
by Carunty
Tue Sep 04, 2007 5:32 pm
Forum: Volume 112 (11200-11299)
Topic: 11232 - Cylinder
Replies: 34
Views: 18866

I post my code here.
I will delete before the day after tomorrow.

Hope someone can help me debug it.
Remove because Acc
by Carunty
Tue Sep 04, 2007 11:30 am
Forum: Volume 112 (11200-11299)
Topic: 11232 - Cylinder
Replies: 34
Views: 18866

For this problem I didn't care for any precision error at all.
Check your code again, may be you are doing some other mistakes.
Thank you for you advice.

I have checked for the sample case posted here.
However,I find no bug to my program.
by Carunty
Mon Sep 03, 2007 7:32 pm
Forum: Volume 112 (11200-11299)
Topic: 11232 - Cylinder
Replies: 34
Views: 18866

I am suffer from precision error in this problem.
Can anyone help me?
by Carunty
Wed Mar 14, 2007 4:05 pm
Forum: Volume 102 (10200-10299)
Topic: 10205 - Stack 'em Up
Replies: 60
Views: 33155

Can paste some testcase here?
I get WA in this problem with reason unknow.
by Carunty
Thu Jul 27, 2006 5:40 am
Forum: Volume 3 (300-399)
Topic: 383 - Shipping Routes
Replies: 27
Views: 10751

Anyone can help me?
by Carunty
Mon Jul 24, 2006 10:28 pm
Forum: Volume 3 (300-399)
Topic: 343 - What Base Is This?
Replies: 72
Views: 28297

by Carunty
Mon Jul 24, 2006 9:12 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 77212

thank you.

I change the code, just do the absolute value by coding.
by Carunty
Mon Jul 24, 2006 8:40 pm
Forum: Volume 3 (300-399)
Topic: 383 - Shipping Routes
Replies: 27
Views: 10751

383 PE

I dont know why I get PE.
Anyone have an idea?

Here is my code.

#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <queue>
#include <map>
using namespace std;

int main(){
int n; cin >> n; cout << "SHIPPING ROUTES OUTPUT" << endl;
for(int i=1;i<=n;++i){
cout ...
by Carunty
Sun Jul 23, 2006 9:13 am
Forum: Volume 4 (400-499)
Topic: 476 - Points in Figures: Rectangles
Replies: 87
Views: 18831

476 WA

I dont know why it is WA. Can anyone help me?
Here is my code.

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

int main(){
int c=1; double y,z; char x; vector<vector<double> > v;
while(cin >> x,x!='*'){
vector<double> w;
for(int i=0;i<4;cin>>y,w.push_back(y),++i ...
by Carunty
Fri Jul 21, 2006 7:16 am
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 77212

10055 CE

I dont know why i get compile error.
Can anyone tell me what is wrong?

#include <iostream>
#include <cmath>
using namespace std;

int main(){
long long x,y;
while(cin >> x >> y) cout << abs(x-y) << endl;
}
by Carunty
Thu Jul 20, 2006 10:53 am
Forum: Volume 4 (400-499)
Topic: 460 - Overlapping Rectangles
Replies: 25
Views: 5779

460 WA

I dont know why I get WA.
If you find any error in the output, please give me the sample input.

#include <iostream>
#include <string>
using namespace std;

int main(){
int p; cin >> p;
for(int i=0;i<p;++i){
if(i>0) cout << endl;
int a=0,b=0,c=9999,d=9999,w,x,y,z;
for(int j=0;j<2;++j){
bool m ...
by Carunty
Mon Jul 17, 2006 9:40 pm
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 50874

thank you

Go to advanced search