ProblemX.xml

From Hackspire
Revision as of 23:46, 23 December 2011 by Excale (talk | contribs) (Creating the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Problem

Raw

<!-- In file ProblemX.xml (X being the problem's number). -->

<prob xmlns="urn:TI.Problem" ver="1.0" pbname="{ProblemName}">
<sym></sym>
<INSERT-CARDS-HERE>
</prob>

Explanation

<prob 				><!-- I cut the <prob ... > in several lines -->
	xmlns="urn:TI.Problem"	<!--  -->
	ver="1.0" 		<!--  -->
	pbname="NomDuProbleme"	<!-- Problem name -->
>				<!--  -->
<sym></sym> 			<!-- Vars are stored here -->
</prob>


Card

Raw

<card clay="{0-7}" h1="{0-10000}" h2="{0-10000}" w1="{0-10000}" w2="{0-10000}">
<isDummyCard>0</isDummyCard>
<flag>0</flag>
<INSERT-WIDGETS-HERE>
</card>

Explanation

<card				<!--  -->
	clay="{0->7}" 		<!-- Page layout from 0 (1 widget) to 7 (4 widgets)-->
	h1="{0->10000}" 	<!-- Height of the left top widget -->
	h2="{0->10000}" 	<!--  -->
	w1="{0->10000}" 	<!-- Width of the left top widget -->
	w2="{0->10000}"		<!--  -->
> 				<!--  -->
<isDummyCard>0</isDummyCard>	<!--  -->
<flag>0</flag> 			<!--  -->
</card>				<!--  -->