Question: [Problem G]

  Should the empty set be considered?
Should the numbers of the same value in the set considered to be inherently different?

Judge answer:

  The empty set must not be considered. You must compute the number of non-empty subsets Y of X with those properties.
The numbers in the set may have same values, but must be considered different.
So the answer for the following input is 2:
2 1
1 1
0 0

Question: [Problem G]

  A set cannot have repetitive elements, but in first sample test case 8 appeared twice.

Judge answer:

  The "set" here does not have the formal mathematical meaning.

Question: [Problem I]

  test case ha ba residan be 0 0 tamoom mishe!? akhe too soorate soal nagofte, vali too sample injoor be nazar miad.

Judge answer:

  Yes.
The input finishes with a line containing "0 0" (omit the quotes) which should not be processed as a test case.

Question: [Problem B]

  a,A,a0,A0,A01,A1,A02,A2,A0,Aa,AA,Ab,AB,B,B0
to sorat soal in reshte sort shode dade shode vali A0 bad az A1 omade agar eshtebah ast eslahesh konin

Judge answer:

  Sorry, the second A0 is A10.
So, the correct desired sorting is:
a,A,a0,A0,A01,A1,A02,A2,A10,Aa,AA,Ab,AB,B,B0

Question: [General]

  PDF!!

Judge answer:

  Please use PDF version of the problems:
http://sharecode.ir/assets/p/iran-internet-contest-2013.pdf