I am getting WA. Whats the problem ??? :(
//////////////////////////////////////////
// Bismillahir Rahmanir Rahim //
// Author : Shohan Ahmed Sijan //
// Country : Bangladesh //
// Algorithm :DP
// Complexity :%
// University : East West University ...
Search found 5 matches
- Thu Jan 31, 2013 10:57 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10819 - Trouble of 13-Dots
- Replies: 67
- Views: 61587
- Sat Nov 19, 2011 5:22 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10324 - Zeros and Ones
- Replies: 179
- Views: 67343
10324 - Zeros and Ones..
Where is the problem of my code??? I have got 9 WA...Plzz help...
#include <stdio.h>
#include <string.h>
#define indx 1000050
char a[indx],tmp,c;
int i,j,com,s,in[indx],cas=1,l;
int main()
{
while(gets(a))
{
l=strlen(a);
if(l==0)
break;
in[0]=0;
s=1;
while(s<l)
{
in[s]=in[s-1];
if(a[s ...
#include <stdio.h>
#include <string.h>
#define indx 1000050
char a[indx],tmp,c;
int i,j,com,s,in[indx],cas=1,l;
int main()
{
while(gets(a))
{
l=strlen(a);
if(l==0)
break;
in[0]=0;
s=1;
while(s<l)
{
in[s]=in[s-1];
if(a[s ...
- Sat Nov 19, 2011 5:13 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10281 - Average Speed
- Replies: 39
- Views: 22084
10281 - Average Speed WA
I am getting WA...Plzz help me...
Code: Select all
Delete After AC...
- Fri Sep 09, 2011 11:39 pm
- Forum: Volume 119 (11900-11999)
- Topic: 11947 - Cancer or Scorpio
- Replies: 18
- Views: 7809
Re: 11947 - Cancer or Scorpio
I got ac...

- Fri Sep 09, 2011 6:50 pm
- Forum: Volume 119 (11900-11999)
- Topic: 11947 - Cancer or Scorpio
- Replies: 18
- Views: 7809
11947 - Cancer or Scorpio
I try my best..But cant understand about d bug. Plzz help me.
Code: Select all
Code deleted after AC..:D
Code: Select all
[code]