Sorry.
I've found where my wrong is.
At first, I want to fix a situation when the input is : X 0
( X means some number as size , such as input is 5 0)
But I did't handle it very well. And comes out the code I posted before.
Now, I've fixed it and got AC.
Here, I List my Code.
Finally, Here's ...
Search found 4 matches
- Fri Apr 14, 2006 5:43 pm
- Forum: Volume 7 (700-799)
- Topic: 706 - LCD Display
- Replies: 221
- Views: 65086
- Fri Apr 14, 2006 12:15 pm
- Forum: Volume 7 (700-799)
- Topic: 706 - LCD Display
- Replies: 221
- Views: 65086
706 - LC-Display - WA
Hi.
I've got WA in this problem. :-?
I've read the articles discussed about this problem but still didn't
figure out how to correct.
Online Judge still show WA after I fixed some place every time.
Can any one help me look about where my wrong is ?
Thanks. :P
#include <stdio.h>
void ...
I've got WA in this problem. :-?
I've read the articles discussed about this problem but still didn't
figure out how to correct.
Online Judge still show WA after I fixed some place every time.
Can any one help me look about where my wrong is ?
Thanks. :P
#include <stdio.h>
void ...
- Fri Jul 29, 2005 5:53 am
- Forum: Volume 5 (500-599)
- Topic: 591 - Box of Bricks
- Replies: 80
- Views: 24901
- Thu Jul 28, 2005 9:53 am
- Forum: Volume 5 (500-599)
- Topic: 591 - Box of Bricks
- Replies: 80
- Views: 24901
591-Box of Bricks (Can you tell me why I get Compile ERROR)?
//591-Box of Bricks
//belows is my code
//Can you tell me why I get Compile ERROR ?
//Thanks
#include<stdio.h>
int main(void)
{
int set = 0,n,i,all,box[50],avg,move[100]={0};
while(scanf("%d",&n)==1)
{
all=avg=0;
if(n==0)break;
set++;
for(i=1;i<=n;i++)
{
scanf("%d",&box[i-1 ...
//belows is my code
//Can you tell me why I get Compile ERROR ?
//Thanks
#include<stdio.h>
int main(void)
{
int set = 0,n,i,all,box[50],avg,move[100]={0};
while(scanf("%d",&n)==1)
{
all=avg=0;
if(n==0)break;
set++;
for(i=1;i<=n;i++)
{
scanf("%d",&box[i-1 ...