## Search found 6 matches

Sun Sep 11, 2011 10:20 pm
Forum: Volume 3 (300-399)
Topic: 389 - Basically Speaking
Replies: 94
Views: 22923

### Re: 389 WA why?

try this
input

Code: Select all

9999999 16 16
ssssss0 10 12
ssss000 10 12
0000000 10 12
sssssFF 16  2
Output

Code: Select all

9999999
ssssss0
ssssss0
ssssss0
ssERROR
Here s means space
Ha ha ha I got AC After 15 WA for input 0000000 10 12
Tue Aug 16, 2011 12:19 am
Forum: Volume 1 (100-199)
Topic: 151 - Power Crisis
Replies: 56
Views: 5131

### Re: 151 WA

set m=1 not m=3
Wed Jun 29, 2011 2:22 pm
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 22123

Use integer not floating point

Code: Select all

//scanf("%lf",&n);
scanf("%d.%d",&d,&c);
int m;
//m=n*100;
m = d*100+c;
if(m==0)
break;
//printf("%6.2lf%17llu\n",n,a[m]);
printf("%3d.%.2d%17llu\n",d,c,a[m]);
Wed Jun 29, 2011 2:17 pm
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 22123

For floating point error

Input two integer number
Example

Code: Select all

scanf("%d.%d",&d,&c);
amount = d*100 + c;
Sun Jun 19, 2011 11:32 pm
Forum: Volume 1 (100-199)
Topic: 168 - Theseus and the Minotaur
Replies: 64
Views: 7837

### Re: 168 Now ACed,ignore it

Try This Input A:BCD;B:AD;D:BG;F:H;G:DEH;E:FGH;H:EG;C:AD. A C 3 A:BCD;B:ACD;C:ABD;D:ABCG;G:DEFH;E:GFH;F:GEH;H:EFG. A C 1 A:BCD;B:ACD;C:ABD;D:ABCG;G:DEFH;E:GFH;F:GEH;H:EFG. A C 6 A:BCD;B:ACD;C:ABD;D:ABCG;G:DEFH;E:GFH;F:GEH;H:EFG. A C 7 A:B;B:A. B A 3 A:B;B:C;C:A. B A 6 C:A;A:B. A C 999999999 A:BCD;B:...
Fri Jun 17, 2011 1:17 am
Forum: Volume 112 (11200-11299)
Topic: 11283 - Playing Boggle
Replies: 19
Views: 8302

### Re: 11283 - Playing Boggle

Try this

Input:

Code: Select all

1
aaaa
aaaa
aaaa
aaab

5
aaaaaaaaaaaaaaab
baaaaaaaaaaaaaaa
aaaaaaabaaaaaaaa
aaaaaaaaaaaaaaba
aaaaaaaaaaaaaaaa
Output:

Code: Select all

Score for Boggle game #1: 44