Search found 5 matches
- Sun Mar 08, 2015 6:59 pm
- Forum: Volume 119 (11900-11999)
- Topic: 11947 - Cancer or Scorpio
- Replies: 18
- Views: 4633
Re: 11947 - Cancer or Scorpio
Why getting wrong answer????? #include <iostream> #include <stdlib.h> #include <cstring> #include <stdio.h> #include <sstream> #include <cmath> #include <algorithm> using namespace std; int str2int(string s){stringstream ss(s);int x;ss >> x;return x;} string int2str(int n){stringstream ss;ss<<n;retu...
- Sat Jan 31, 2015 12:19 am
- Forum: Volume 118 (11800-11899)
- Topic: 11800 - Determine the Shape
- Replies: 47
- Views: 14622
Re: 11800 - Determine the Shape
Can anyone help me!I can't find out what's wrong in my code.It passes all the test cases i checked but getting WA in UVa :( #include <iostream> #include <algorithm> #include <cstring> #include <stdio.h> #include <cmath> #define Pi 3.14159265359 #define EPS 1e-9 using namespace std; int A,B,C,D; stru...
- Tue Jan 27, 2015 4:08 pm
- Forum: Volume 124 (12400-12499)
- Topic: 12439 - February 29
- Replies: 16
- Views: 2782
Re: 12439 - February 29
Thanks a lot
Got AC finally !Sorry for my double post 


- Mon Jan 26, 2015 1:46 am
- Forum: Volume 124 (12400-12499)
- Topic: 12439 - February 29
- Replies: 16
- Views: 2782
UVa 12439 February 29
Hello,why isn't my code is being accepted???I checked almost all the inputs available here and all of them match my output.Then why i am still getting WA???Please someone check my code :( #include <iostream> #include <cstring> #include <stdio.h> #include <cmath> #include <sstream> using namespace st...
- Mon Jan 26, 2015 1:40 am
- Forum: Volume 124 (12400-12499)
- Topic: 12439 - February 29
- Replies: 16
- Views: 2782
Re: 12439 - January 26,2015
Hello,why isn't my code is being accepted???I checked almost all the inputs available here and all of them match my output.Then why i'm still getting WA???Please someone check my code :( #include <iostream> #include <cstring> #include <stdio.h> #include <cmath> #include <sstream> using namespace std...