Search found 5 matches

by Tarango_Flash7
Sun Mar 08, 2015 6:59 pm
Forum: Volume 119 (11900-11999)
Topic: 11947 - Cancer or Scorpio
Replies: 18
Views: 3959

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...
by Tarango_Flash7
Sat Jan 31, 2015 12:19 am
Forum: Volume 118 (11800-11899)
Topic: 11800 - Determine the Shape
Replies: 47
Views: 12505

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...
by Tarango_Flash7
Tue Jan 27, 2015 4:08 pm
Forum: Volume 124 (12400-12499)
Topic: 12439 - February 29
Replies: 16
Views: 1843

Re: 12439 - February 29

Thanks a lot :) Got AC finally !Sorry for my double post :(
by Tarango_Flash7
Mon Jan 26, 2015 1:46 am
Forum: Volume 124 (12400-12499)
Topic: 12439 - February 29
Replies: 16
Views: 1843

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...
by Tarango_Flash7
Mon Jan 26, 2015 1:40 am
Forum: Volume 124 (12400-12499)
Topic: 12439 - February 29
Replies: 16
Views: 1843

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...

Go to advanced search