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 1021. Sacrament of the Sum

Why Compil Error?
Posted by Laise 25 Jun 2006 18:51
Please help. Here is my solution for this task and its valid on my pc, but I get Compil Error when sending it. Can anyone tell me why?

solution:

[code deleted]

Edited by moderator 25.06.2006 22:58
Re: Why Compil Error?
Posted by Anton [SUrSU#6] 25 Jun 2006 20:50
...
for (i = 0; i < bn; i++) cin >> b[i];
...
Just correct to this
  ... for (int i = 0; i < bn; i++) cin >> b[i]; ...
and you got AC
Read FAQ
Posted by Alexey 26 Jun 2006 19:49