Search found 1 match

by shimon0505004
Mon Aug 05, 2013 11:39 am
Forum: Volume 101 (10100-10199)
Topic: 10137 - The Trip
Replies: 159
Views: 70927

Re: 10137 - The Trip

Hi all,
Can anyone help me ? why does my code show WA?

#include<iostream>
#include <iomanip>
using namespace std;

int main(void)
{
int nNumberOfStudent;
while(1)
{
cin>>nNumberOfStudent;
if(nNumberOfStudent==0)
{
break;
}
double *nStudent = new double[nNumberOfStudent];
double nSum=0 ...

Go to advanced search