Thanks!
I modified my code...but still WA.. :(
what is missing things?
or I misunderstood your advice?
void main()
{
int sub_max, sub_cumulative, total_cumulative, total_max;
int in_data, i, N, limits;
while (cin >> N) {
/* initialize... */
sub_max = INT_MIN, sub_cumulative = 0, total ...