Search found 1 match

by r_nest23
Thu May 20, 2004 10:23 am
Forum: Volume 100 (10000-10099)
Topic: 10050 - Hartals
Replies: 59
Views: 20134

Help, what's wrong with my code???

What's wrong with this code? I've submitted for few times and the result is WA. Please help..... [cpp]#include<iostream.h> main(void) { int except,x,i,j,k; int day,noparty,freq,tmp; int *daystat; int *result; cin >> x; if (x>0) { result = new int[x]; for(i=0; i<x; i++) { cin >> day; cin >> noparty; ...

Go to advanced search