I have got WA several times,but could not find the error.Plz someone help me....
#include<stdio.h>
#define M 60000
typedef long dt;
dt as[M],sa[M],tuk[M];
void main()
{
dt cas=0,n,num,i,j,m,l,assa,sum,pre;
while(scanf("%ld",&n)==1)
{
cas++;
printf("Case #%ld:",cas);
j=0;
assa=0;
m=0 ...
Search found 4 matches
- Tue Sep 04, 2007 12:08 am
- Forum: Volume 109 (10900-10999)
- Topic: 10930 - A-Sequence
- Replies: 102
- Views: 62450
- Mon Sep 03, 2007 11:54 pm
- Forum: Volume 2 (200-299)
- Topic: 263 - Number Chains
- Replies: 45
- Views: 15344
- Mon Sep 03, 2007 11:33 pm
- Forum: Volume 7 (700-799)
- Topic: 727 - Equation
- Replies: 156
- Views: 56775
Hi kana you should print a blank line between the output lines of two consecutive inputs.Here is an example for you.
Input :
Output :
Hope it will work.Good Luck... 
Input :
Code: Select all
2
2
+
3
3
*
4
Code: Select all
23+
34*

- Sun Sep 02, 2007 11:10 pm
- Forum: Volume 5 (500-599)
- Topic: 543 - Goldbach's Conjecture
- Replies: 109
- Views: 41133