Search found 10 matches
- Sun Feb 25, 2007 9:24 am
- Forum: Volume 4 (400-499)
- Topic: 490 - Rotating Sentences
- Replies: 212
- Views: 48481
- Wed Feb 21, 2007 6:46 pm
- Forum: Volume 4 (400-499)
- Topic: 490 - Rotating Sentences
- Replies: 212
- Views: 48481
- Wed Feb 21, 2007 4:04 pm
- Forum: Volume 4 (400-499)
- Topic: 490 - Rotating Sentences
- Replies: 212
- Views: 48481
- Tue Feb 20, 2007 8:25 am
- Forum: Volume 8 (800-899)
- Topic: 847 - A Multiplication Game
- Replies: 41
- Views: 28329
- Tue Feb 20, 2007 8:15 am
- Forum: Volume 4 (400-499)
- Topic: 490 - Rotating Sentences
- Replies: 212
- Views: 48481
- Mon Feb 19, 2007 7:16 pm
- Forum: Volume 4 (400-499)
- Topic: 490 - Rotating Sentences
- Replies: 212
- Views: 48481
- 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 ...
#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 ...
- Wed Feb 14, 2007 6:02 pm
- Forum: Volume 8 (800-899)
- Topic: 847 - A Multiplication Game
- Replies: 41
- Views: 28329
- 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 ...
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 ...
- 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 ...
#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 ...