Clarifications
Problem G · 2013-11-28 11:19:10
Should the empty set be considered?
Should the numbers of the same value in the set considered to be inherently different?
Should the numbers of the same value in the set considered to be inherently different?
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
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
Problem G · 2013-11-28 10:16:10
A set cannot have repetitive elements, but in first sample test case 8 appeared twice.
Answer: The "set" here does not have the formal mathematical meaning.
Problem I · 2013-11-28 09:42:35
test case ha ba residan be 0 0 tamoom mishe!? akhe too soorate soal nagofte, vali too sample injoor be nazar miad.
Answer: Yes.
The input finishes with a line containing "0 0" (omit the quotes) which should not be processed as a test case.
The input finishes with a line containing "0 0" (omit the quotes) which should not be processed as a test case.
Problem B · 2013-11-28 09:42:15
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
to sorat soal in reshte sort shode dade shode vali A0 bad az A1 omade agar eshtebah ast eslahesh konin
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
So, the correct desired sorting is:
a,A,a0,A0,A01,A1,A02,A2,A10,Aa,AA,Ab,AB,B,B0
General · 2013-11-28 09:34:05
PDF!!
Answer: Please use PDF version of the problems:
http://sharecode.ir/assets/p/iran-internet-contest-2013.pdf
http://sharecode.ir/assets/p/iran-internet-contest-2013.pdf