14.01.2013 Views

Soluciones y Explicación de los problemas ACM ... - ICPC Bolivia

Soluciones y Explicación de los problemas ACM ... - ICPC Bolivia

Soluciones y Explicación de los problemas ACM ... - ICPC Bolivia

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Explicaciones a <strong>los</strong> <strong>problemas</strong> South American Regionals 2008 7<br />

Programa C que soluciona el problema<br />

#inclu<strong>de</strong> <br />

#inclu<strong>de</strong> <br />

int A, D;<br />

int B[11];<br />

int C[11];<br />

using namespace std;<br />

int main()<br />

{<br />

int i;<br />

//freopen("he.in", "r", stdin);<br />

scanf("%d %d", &A, &D);<br />

while(A || D)<br />

{<br />

for(i=0; i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!