Search found 6 matches

by chaojinn
Fri Oct 03, 2003 3:57 pm
Forum: Other words
Topic: What's the different color in single auhtor page mean ?
Replies: 1
Views: 1137

What's the different color in single auhtor page mean ?

can any one tell me about What's the different color in single auhtor page mean ? :wink:
by chaojinn
Fri Oct 03, 2003 3:55 pm
Forum: Off topic (General chit-chat)
Topic: What's the different color in single auhtor page mean?
Replies: 2
Views: 2021

What's the different color in single auhtor page mean?

can any one tell me about What's the different color in single auhtor page mean ? :wink:
by chaojinn
Thu Sep 12, 2002 3:54 pm
Forum: Volume 101 (10100-10199)
Topic: 10188 - Automated Judge Script
Replies: 58
Views: 36475

i use getchar() and strcat() but got w/a,help!

#include "iostream.h" #include "string.h" #include "stdio.h" #include "fstream.h" void noblank(char str[]) { long l=strlen(str); long i,j; for(i=0;i<l;i++) { if(!(str >='0'&&str <='9')) { for(j=i;j<l-1;j++) { str[j]=str[j+1]; } l--; str[l]='\0'; i=-1; ...
by chaojinn
Wed Jul 31, 2002 1:23 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 77938

me w/a too,help!!!

#include "iostream.h" #include "stdlib.h" #include "string.h" #include "stdio.h" struct str { char base[100000]; int len; }; bool mod3(str year) { long sum; div_t t; sum=0; int i; for(i=0;i<year.len;i++) sum+=(year.base -'0'); t=div(sum,3); if(t.rem==0) return...
by chaojinn
Wed Jul 31, 2002 4:56 am
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 77938

long is not enough

you should use string to read the year
by chaojinn
Tue Jul 30, 2002 8:03 am
Forum: Volume 100 (10000-10099)
Topic: 10008 - What's Cryptanalysis?
Replies: 55
Views: 24757

10008 - What's Cryptanalysis?

[cpp] #include "iostream.h" #include "stdio.h" #include "string.h" char str[800]; int list[26]; void init() { int i; for(i=0;i<26;i++) list =0; } void input() { int i,l,n,j; cin>>n; for(j=0;j<n;j++) { gets(str); l=strlen(str); for(i=0;i<l;i++) { if((str >='A')&&...

Go to advanced search