Search found 1 match

by yayas
Thu Jun 12, 2003 12:25 pm
Forum: Volume 103 (10300-10399)
Topic: 10333 - The Tower of ASCII
Replies: 8
Views: 4215

10333 Wrong Anwers, But The Output is Correct

[c]
#include<stdio.h>

void main() {
int n , sum , a[500],i,k,tm=1, j,m,first,first1,g,wide,wid2;

#ifndef ONLINE_JUDGE
freopen("10333.in", "r", stdin);
freopen("10333.out", "w", stdout);
#endif
while(scanf("%d",&n)==1)
{
sum = 0 ;
i = 0 ;
j = 0 ;
printf("Tower : #%d\n",tm);
tm++;
do ...

Go to advanced search