## Search found 13 matches

Fri Aug 06, 2004 3:54 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 39338

### Thanks

who can give me some test cases?
help help!!
Fri Aug 06, 2004 8:08 am
Forum: Volume 100 (10000-10099)
Topic: 10000 - Longest Paths
Replies: 160
Views: 37680
you should try to change another method to solve this problem
Fri Aug 06, 2004 8:05 am
Forum: Volume 100 (10000-10099)
Topic: 10001 - Garden of Eden
Replies: 39
Views: 15457

### 10001 help me

I don't understand some words,below: To further simplify the problem each cell state will depend only on its previous state and that of its immediate neighbors (the one to the left and the one to the right). The Identity automaton (every state evolves to itself) has identifier 204. who can explain t...
Thu Aug 05, 2004 4:00 pm
Forum: Volume 100 (10000-10099)
Topic: 10002 - Center of Masses
Replies: 59
Views: 26930
Thu Aug 05, 2004 3:58 pm
Forum: Volume 100 (10000-10099)
Topic: 10002 - Center of Masses
Replies: 59
Views: 26930

### 10002 WA

I use formula below,why WA?Thanks in advance!
Thu Aug 05, 2004 9:21 am
Forum: Volume 100 (10000-10099)
Topic: 10000 - Longest Paths
Replies: 160
Views: 37680
I use neither of them
Wed Aug 04, 2004 4:54 am
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 39338

### example

I test many cases,the result is right.
example
input:
ABCCDDEEEFFF
output:
66 1
65 1
68 2
67 2
70 3
69 3

why WA?
Wed Aug 04, 2004 4:46 am
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 39338

### 10062 help me

When I submit ,I select the Language is C ,the judge is Compile Error ,then I select the Language is C++ ,and the judge is Wrong Answer ,who can help me,Thank you in advance! [c]# include <stdio.h> # include <string.h> struct node { char ch; int fre; }; int main() { char str[1000]; node nod[1000],te...
Wed Aug 04, 2004 3:38 am
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 22220
I think so
Wed Aug 04, 2004 3:36 am
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 42087

### Thanks

sohel,Thank you indeed!
I got AC but no ( P.E.)
Tue Aug 03, 2004 1:11 pm
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 42087

### 10013 Accepted (P.E.)

who can help me? Thanks # include <stdio.h> int main() { long i,j,n,m; int num[1000000][2]; scanf("%ld",&n); for(i=0;i<n;i++) { getchar(); scanf("%ld",&m); for(j=0;j<m;j++) scanf("%d%d",&num[j][0],&num[j][1]); for(j=m-1;j>=0;j--) { if(num[j][0]+num[j][1]>=10) { num[j][0]=num[j][0]+num[j][1]-10; num[...
Tue Aug 03, 2004 9:56 am
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 22220

### Thanks

I don't think so. I got AC,and I use "%lu" # include <stdio.h> int main() { unsigned long num,rev,temp,feng; unsigned int i,j,k,count,time; scanf("%d",&time); for(i=0;i<time;i++) { scanf("%lu",&num); count=0; while(1) { rev=0; for(j=1000000000;j>0;j=j/10) { if(num/j>0) break; } temp=num; k=j; while(...
Tue Aug 03, 2004 5:44 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 193824

### Thanks

With your help I got AC,Thank you indeed!