<?xml version="1.0" encoding="windows-1251"?>
<task title="Задача Ч-1-1. Каждая - сумма следующих.">
<description>
<![CDATA[Найдите количество трёхзначных десятичных чисел, у которых каждая цифра равна сумме следующих за ней.
]]><imgs><img>6red.PNG</img>
<img>3red.PNG</img>
<img>3red.PNG</img>
</imgs></description>
<description-params>
	<param name="length">
 		<value>3</value>
 	</param>
</description-params>
 <mathDescription>
 <sourceSet> 
 <set type="DecartSet" length="${length}"> 
<set type="NumericSet" first="1" last="9"/><set type="NumericSet" first="0" last="9"/><set type="NumericSet" first="0" last="9"/>	</set>
</sourceSet>
<verifier type="SimpleVerifier">
<function type="And">
<constElement>1</constElement>
<function type="Equals">
<function type="Add">
<function type="Projection" axis="1">
		<current-set-element/>
</function>
</function>

<function type="Add">
<function type="Projection" axis="2">
		<current-set-element/>
</function>
<function type="Projection" axis="3">
		<current-set-element/>
</function>
</function>

</function><function type="Equals">
<function type="Add">
<function type="Projection" axis="2">
		<current-set-element/>
</function>
</function>

<function type="Add">
<function type="Projection" axis="3">
		<current-set-element/>
</function>
</function>

</function>
</function>
</verifier> </mathDescription>
 </task>