Parent Directory
|
Revision Log
|
Patch
| Revision 267 | Revision 268 | ||
|---|---|---|---|
| … | … | ||
| 32 | "PGgraphmacros.pl", | 32 | "PGgraphmacros.pl", |
| 33 | "PGasu.pl", | 33 | "PGasu.pl", |
| 34 | "extraAnswerEvaluators.pl" | 34 | "extraAnswerEvaluators.pl" |
| 35 | ); | 35 | ); |
| 36 | 36 | ||
| 37 | TEXT(&beginproblem); | 37 | TEXT(beginproblem()); |
| 38 | 38 | ||
| 39 | 39 | ||
| 40 | $a = random(2,10,2); | 40 | $a = random(2,10,2); |
| 41 | $b = random(2*$a,20); | 41 | $b = random(2*$a,20); |
| 42 | $f = floor($b/$a)-1; | 42 | $f = floor($b/$a)-1; |
| … | … | ||
| 71 | 71 | ||
| 72 | $xs = $b/$m; | 72 | $xs = $b/$m; |
| 73 | $ys = $m*$a; | 73 | $ys = $m*$a; |
| 74 | 74 | ||
| 75 | $ans = "bounded"; | 75 | $ans = "bounded"; |
| 76 | ANS(std_str_cmp($ans)); | 76 | ANS(str_cmp($ans)); |
| 77 | ANS(interval_cmp( "($a,$b), ($xs,$b),($a,$ys)", unions=>'no', strings=>["none"])); | 77 | ANS(interval_cmp( "($a,$b), ($xs,$b),($a,$ys)", unions=>'no', strings=>["none"])); |
| 78 | 78 | ||
| 79 | 79 | ||
| 80 | ENDDOCUMENT(); # This should be the last executable line in the problem. | 80 | ENDDOCUMENT(); # This should be the last executable line in the problem. |
| 81 | 81 | ||
|
||||||||
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |