Search found 7 matches

by akiha
Thu Jan 27, 2005 7:22 pm
Forum: Volume 101 (10100-10199)
Topic: 10129 - Play on Words
Replies: 34
Views: 13714

so....I say sorry to you first
I just lazy to type caps lock XD
and

I just send the following code to acm
i return a segmentation error to me, too

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

main(void)
{
char in[1001];
int head[26];
int tail[26];
int con[26][26];
int check[26];
int g[3];
int ...
by akiha
Thu Jan 27, 2005 7:08 pm
Forum: Volume 101 (10100-10199)
Topic: 10129 - Play on Words
Replies: 34
Views: 13714

FIRSLTY THZ ABOUT YOUR REPLY

>P.S. Don't you know that typing in full captial letters is impolite?
I DONT KNOW
WHY?
by akiha
Thu Jan 27, 2005 6:38 pm
Forum: Volume 101 (10100-10199)
Topic: 10129 - Play on Words
Replies: 34
Views: 13714

.. wrote:Similar mistake here:
char in[1000];
To hold a string of 1000 chars long, the array size should NOT be 1000.
BUT WHAT SHOULD THE ARRAY SIZE
THE PROGRAM HAVE NOT SPECIFIC THE ARRAY SIZE
AND ALSO I HAVE TRY SET IT TO 1000000
NO HELPS TO THE ERROR
by akiha
Thu Jan 27, 2005 6:00 pm
Forum: Volume 101 (10100-10199)
Topic: 10129 - Play on Words
Replies: 34
Views: 13714

I KNOW THAT

BUT WHEN I SET B<26
IT ALSO SEGMENTATAION ERROR
by akiha
Thu Jan 27, 2005 3:35 pm
Forum: Volume 101 (10100-10199)
Topic: 10129 - Play on Words
Replies: 34
Views: 13714

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

main(void)
{
char in[1000];
int head[26];
int tail[26];
int con[26][26];
int check[26];
int g[3];
int n=0;
int a,b,i,j,m,t,count,p,q;
int s=0;
int cb=0;
char prichk='0';
char secchk='0';
char terchk='0';
char finalchk='0';
char finalchk2='0 ...
by akiha
Wed Jan 26, 2005 9:31 pm
Forum: Volume 101 (10100-10199)
Topic: 10129 - Play on Words
Replies: 34
Views: 13714

10129-SEGMENTATION FAULT

All the variable and array are well defined
no pointer is used

why segmentation fualt?.............orz

THZ for any reply
by akiha
Sat Jan 22, 2005 6:51 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 67376

10324

I try to sove it
and give a exactly correct answer but get time limit exceed

i know what's wrong with my program
As i learn C for only 2 weeks and only learn programming for 3months

my library of synatx is very week
the only method i know how to solve it is to loop the char one by one by ...

Go to advanced search