hi MarkT thank you for your answer,
i changed "== "by" = "and i cleared " interrupt" and i wrote volatile unsigned long var[n] but nothing happened. maybe i made ??a mistake in your instructions no ?
another question :How do I guarantee that "n" is increment to the 50 without put the serial inside the ISR ?