Search found 10 matches

by S.M. Arifuzzaman
Sun Feb 25, 2007 9:24 am
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48481

I am busy with my exam now, so I m temporarily retired. Anyway thnx mf for his suggestion. I expect to start very soon with his suggestion.
by S.M. Arifuzzaman
Wed Feb 21, 2007 6:46 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48481

I hv done some modifications according to u(mf). but still wa . modifications are indicated in the code as comments.


#include<stdio.h>

int main()
{
// freopen("in.txt","r",stdin);
// freopen("ot.txt","w",stdout);
char arr[1000][1000]={' '},ch;
int i=0,j=0,maxj=-1; //maxj for maximum column ...
by S.M. Arifuzzaman
Wed Feb 21, 2007 4:04 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48481

:cry:
is there nobody to help me.
then what can i do?
what should be done now???
:( :( :( :( :( :( :( :( :( :(
by S.M. Arifuzzaman
Tue Feb 20, 2007 8:25 am
Forum: Volume 8 (800-899)
Topic: 847 - A Multiplication Game
Replies: 41
Views: 28329

Can anyone show me the bug in the code posted above??? I'd be really grateful. Plz...


I assume both stan and ollie will try with 9 to get p*9>=n. if fail, the will try with maximum p*j such that their counterpart will not be able to reach n by multiplying at most 9.
by S.M. Arifuzzaman
Tue Feb 20, 2007 8:15 am
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48481

Hi, I m a newcomer facing wa in 490, but don't know why. I have checked my code with some sets of input posted in the forum by 'JAN' etc. my code produces expected output. so why wa????
#include<stdio.h>

int main()
{
//freopen("in1.txt","r",stdin);
//freopen("ot.txt","w",stdout);
char arr[500 ...
by S.M. Arifuzzaman
Mon Feb 19, 2007 7:16 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48481

Initially i didn't substitute '\n' with ' '(space)<i think it was a mistake, isn't?>. so the two lines was included.
anyway then i substituted '\n' with ' '(space) but carelessly the two lines u indicated remained.
however, it is all the same the line "if(arr[k][m]!='\n')" remains or not. I just ...
by S.M. Arifuzzaman
Mon Feb 19, 2007 5:59 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48481

490 wa plz help

I don't know what's the wrong here. here's my code
#include<stdio.h>

int main()
{
//freopen("in.txt","r",stdin);
//freopen("ot.txt","w",stdout);
char arr[101][101]={' '},ch;
int i=0,j=0,maxj=-1; //maxj for maximum column length
while(scanf("%c",&ch)!=EOF)
{

if(ch=='\n')
{
arr[i][j ...
by S.M. Arifuzzaman
Wed Feb 14, 2007 6:02 pm
Forum: Volume 8 (800-899)
Topic: 847 - A Multiplication Game
Replies: 41
Views: 28329

Thnx Sohel bhai for ur valuable suggestion.
by S.M. Arifuzzaman
Tue Feb 13, 2007 11:46 pm
Forum: Volume 8 (800-899)
Topic: 847 - A Multiplication Game
Replies: 41
Views: 28329

A multiplication game. WWWWWWWAAAAAAAAA plz help

//my code(editted after Mr. Sohel's suggestion)
wa, plz help.


/*********************************multiplicatation game****************/
#include<stdio.h>
#include<stdlib.h>
#include<math.h>

void main()
{
//freopen("in847.txt","r",stdin);
//freopen("out847.txt","w",stdout);
long j,k=1,found=0 ...
by S.M. Arifuzzaman
Tue Feb 13, 2007 11:39 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 102275

10035

// here is my code. whats the wrong??????????????????????

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



void main()

{
freopen("in.txt","r",stdin);
freopen("ot.txt","w",stdout);
char st1[10]={0},st2[10]={0};

while(scanf("%s%s",st1,st2)==2&&(strcmp(st1,"0")||strcmp(st2,"0")))
{

int carry=0,sum=0 ...

Go to advanced search