Search found 2 matches

by ainan.ahmed
Fri Mar 03, 2017 12:29 pm
Forum: Volume 5 (500-599)
Topic: 583 - Prime Factors
Replies: 171
Views: 36750

Re: 583 - Prime Factors

Can anyone help?? getting WA .. :( #include <bits/stdc++.h> using namespace std; #define mkp make_pair #define pii pair<int,int> #define PI acos(-1) #define sc(a) scanf("%d",&a) #define sc2(a,b) scanf("%d%d",&a,&b) #define sc3(a,b,c) scanf("%d%d%d",&a,&b,&c) #define pr(a) printf("%d\n",a) #define PI...
by ainan.ahmed
Sun Jan 08, 2017 1:05 pm
Forum: Volume 104 (10400-10499)
Topic: 10462 - Is There A Second Way Left?
Replies: 29
Views: 14601

Re: 10462 - Is There A Second Way Left?

Can anyone tell me why i am getting WA?? :(
Tried all the testcase given in this forum & udebug..they all gave correct ans.
my code: http://ideone.com/m5lFmo

Go to advanced search