Search found 4 matches

by thinker
Thu Mar 31, 2005 7:48 pm
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 49601

plz say me why i get WA at 492 ???

please say me what is my wrong. no need to give your solve. just see my solve and say what my wrong and how i recover it. my code is following.

#include<iostream>
#include<stdio.h>
#include<string>

using namespace std;

string str1;
string str2=" ";
char s[5000000];
char pn[200000];
char ch ...
by thinker
Mon Mar 28, 2005 10:01 pm
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 44850

i got Runtime error in 444 !!! but why

i got Runtime error in 444 !!! but why. my all input out-puts are ok. my code is followings.

#include<stdio.h>
#include<string.h>
#include<ctype.h>
int a[81];
char str1[81];
int size;


void encode()
{
for(int i=0;i<size;i++)
{
a =str1 ;
if(a >=100)
{
int x,y,z;
x=((a %100)/10);
y=1;//a ...
by thinker
Mon Mar 28, 2005 9:56 pm
Forum: Volume 2 (200-299)
Topic: 272 - TEX Quotes
Replies: 136
Views: 56799

i got WA in 272!! help PLZ

i dont underdtand why i got WA in 272. where is my wrong.
#include<stdio.h>
#include<string.h>
char str[30000];
char a[30000];
int j=1,size;
int main()
{
// freopen("input.in","r",stdin);
while(gets(str)!=NULL)
{
int k=0;
size=strlen(str);

for(int i=0;i<size;i++)
{
if(str !='"')
{
a[k ...
by thinker
Mon Mar 28, 2005 8:50 pm
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 39180

483 accepted but PE !!!! PLZ HELP ME

My 483 is accepted but i got PE . i dont understant why i got it please help me. my code is following.
#include<stdio.h>
#include<iostream>
#include<string>

using namespace std;

string str1;
string str2=" ";
char s[20000];


int main()
{
//freopen("input.in","r",stdin);

while(gets(s)!=NULL ...

Go to advanced search