## Search found 38 matches

Tue Dec 23, 2014 12:33 pm
Forum: Volume 113 (11300-11399)
Topic: 11371 - Number Theory for Newbies
Replies: 65
Views: 21885

### Re: 11371 - Number Theory for Newbies

I am getting WA here. Though all the I/O given in problem and this discussion board have given correct answer.

Code: Select all

``````Removed after getting AC :)
``````
Tue Dec 24, 2013 10:54 am
Forum: Volume 109 (10900-10999)
Topic: 10945 - Mother bear
Replies: 65
Views: 15923

### Re: 10945 - Mother Bear WA why? Anyone help me please

I am getting WA here . Please help me . #include <stdio.h> #include <stdlib.h> #include <string.h> #include<cctype> #include<cstdio> #include<cstring> int main() { char s[1000000]; int init,end; bool des; while(gets(s)&& strcmp(s,"DONE")) { des=false; init=0; end=strlen(s)-1; while(init<=end) { if(!...
Wed Dec 11, 2013 7:42 am
Forum: Volume 105 (10500-10599)
Topic: 10539 - Almost Prime Numbers
Replies: 44
Views: 23845

### Re: 10539 - Almost Prime Numbers

Got AC. Thanks brianfry713
Tue Dec 10, 2013 6:20 am
Forum: Volume 105 (10500-10599)
Topic: 10539 - Almost Prime Numbers
Replies: 44
Views: 23845

### Re: 10539 - Almost Prime Numbers

I solved it without floating point but still getting wrong answer

Code: Select all

``Code removed after AC``
Mon Dec 09, 2013 7:43 pm
Forum: Volume 105 (10500-10599)
Topic: 10539 - Almost Prime Numbers
Replies: 44
Views: 23845

### Re: 10539 - Almost Prime Numbers

Code: Select all

``````Code removed after getting AC
``````
Sat Dec 07, 2013 8:32 pm
Forum: Volume 103 (10300-10399)
Replies: 59
Views: 20813

### Re: 10305 - Ordering Tasks

@Brianfry713: I resolved the spacing problem but still getting wrong answer : #include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> #include <cstring> #include <string> #include <memory> #include <algorithm> #include <map> #include <vector> using namespace std; void BFS_VISIT(int...
Fri Dec 06, 2013 7:23 am
Forum: Volume 103 (10300-10399)
Replies: 59
Views: 20813

### Re: 10305 - Ordering Tasks

@Brianfry713: I resolved the problem but still getting wrong answer : #include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> #include <cstring> #include <string> #include <memory> #include <algorithm> #include <map> #include <vector> using namespace std; void BFS_VISIT(int p); int...
Thu Dec 05, 2013 1:11 pm
Forum: Volume 103 (10300-10399)
Replies: 59
Views: 20813

### Re: 10305 - Ordering Tasks

Here I'm getting wrong answer. I checked all the i/o given in this board. Please Help. #include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> #include <cstring> #include <string> #include <memory> #include <algorithm> #include <map> #include <vector> using namespace std; void BFS_...
Tue Jul 23, 2013 7:23 am
Forum: Volume 117 (11700-11799)
Replies: 32
Views: 5764

### Re: Why WA!! for 11723, help me please...

I got AC. Thanks Mr. t.tahasin.
Sun Jul 21, 2013 4:25 pm
Forum: Volume 117 (11700-11799)
Replies: 32
Views: 5764

### Re: Why WA!! for 11723, help me please...

i resolved the issue but still getting wa
Sat Jul 20, 2013 2:31 pm
Forum: Volume 117 (11700-11799)
Replies: 32
Views: 5764

### Re: Why WA!! for 11723, help me please...

I'm still getting wa though there is no floating point.

code is removed after getting ac.
Fri Jul 19, 2013 9:18 pm
Forum: Volume 117 (11700-11799)
Replies: 32
Views: 5764

### Re: Why WA!! for 11723, help me please...

Here I'm getting wa! please help #include<stdio.h> #include<stdlib.h> #include<cstring> #include<math.h> int main() { int R,D,t=0,res; float res1; scanf("%d %d",&R,&D); while(R) { res=0; t++; if((R-D)/D > 26) printf("Case %d: impossible\n",t); else if(R <= D ) printf("Case %d: 0\n",t); else { res1=(...
Tue Jun 11, 2013 3:16 pm
Forum: Volume 8 (800-899)
Topic: 884 - Factorial Factors
Replies: 49
Views: 26059

### Re: 884 - Factorial Factors

@t.tahasin :Thanks for your great help. I got AC
Tue Jun 11, 2013 2:26 pm
Forum: Volume 8 (800-899)
Topic: 884 - Factorial Factors
Replies: 49
Views: 26059