ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1005. Stone Pile

can anybody tell me how to read the inputs?
one in each line or all in single line.??
Re: can anybody tell me how to read the inputs?
Posted by Alias (Alexander Prudaev) 24 Dec 2007 15:39
for C it is don't matter
int n;
scanf("%d", &n);
for (int i = 0; i < n; i++)
  scanf("%d", &a[i]);

Edited by author 24.12.2007 15:39