Programming 4

Put your programming skills to the test in these challenges.

Programming 4

Post by Valar_Dragon on Thu Dec 24, 2015 4:18 pm
([msg=91040]see Programming 4[/msg])

I am very confused about why my answer for this is wrong.
Here is my Plotme.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!-- HackThisSite.org perm. programming challenge 4 -->
<!-- default color is white -->
<ppcPlot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://www.hackthissite.org/missions/prog/4/plotMe.xsd">
<Line>
  <XEnd>346.5</XEnd>
  <XStart>368.5</XStart>
  <YEnd>472.8</YEnd>
  <YStart>473.5</YStart>
</Line>
<Line>
  <Color>red</Color>
  <YEnd>382.9</YEnd>
  <XStart>562.6</XStart>
  <YStart>390.6</YStart>
  <XEnd>562.6</XEnd>
</Line>
<Line>
  <YStart>415.6</YStart>
  <XStart>348.5</XStart>
  <YEnd>407.6</YEnd>
  <XEnd>370.8</XEnd>
</Line>
<Line>
  <XEnd>584.6</XEnd>
  <YEnd>382.9</YEnd>
  <YStart>390.6</YStart>
  <Color>red</Color>
  <XStart>584.6</XStart>
</Line>
<Line>
  <XEnd>551.3</XEnd>
  <YEnd>434.8</YEnd>
  <YStart>428</YStart>
  <Color>yellow</Color>
  <XStart>553.8</XStart>
</Line>
<Line>
  <XStart>373.9</XStart>
  <YStart>521.6</YStart>
  <XEnd>363.4</XEnd>
  <Color>blue</Color>
  <YEnd>489.3</YEnd>
</Line>
<Line>
  <YEnd>413.5</YEnd>
  <Color>red</Color>
  <XStart>581.3</XStart>
  <XEnd>575.1</XEnd>
  <YStart>410.1</YStart>
</Line>
<Arc>
  <YCenter>395.3</YCenter>
  <ArcExtend>180</ArcExtend>
  <Radius>5.5</Radius>
  <XCenter>365.7</XCenter>
  <ArcStart>2</ArcStart>
</Arc>
<Line>
  <XEnd>451.5</XEnd>
  <YStart>524.6</YStart>
  <Color>red</Color>
  <XStart>464.5</XStart>
  <YEnd>526.9</YEnd>
</Line>
<Line>
  <YStart>319.8</YStart>
  <XStart>406.3</XStart>
  <Color>green</Color>
  <XEnd>397.7</XEnd>
  <YEnd>322.2</YEnd>
</Line>
<Line>
  <YEnd>225.3</YEnd>
  <XEnd>295.5</XEnd>
  <XStart>279.7</XStart>
  <Color>blue</Color>
  <YStart>176.8</YStart>
</Line>
<Line>
  <XStart>539.9</XStart>
  <YStart>455.5</YStart>
  <YEnd>449.3</YEnd>
  <Color>yellow</Color>
  <XEnd>543.5</XEnd>
</Line>
<Line>
  <YEnd>504.8</YEnd>
  <YStart>502.6</YStart>
  <XStart>501.5</XStart>
  <XEnd>497.7</XEnd>
  <Color>red</Color>
</Line>
<Arc>
  <ArcStart>92</ArcStart>
  <Radius>5.5</Radius>
  <ArcExtend>180</ArcExtend>
  <XCenter>347.8</XCenter>
  <YCenter>591.7</YCenter>
</Arc>
<Line>
  <Color>yellow</Color>
  <XStart>539.9</XStart>
  <YStart>455.5</YStart>
  <YEnd>461.5</YEnd>
  <XEnd>550.3</XEnd>
</Line>
<Line>
  <XEnd>344.4</XEnd>
  <YStart>521.1</YStart>
  <XStart>344.8</XStart>
  <YEnd>531</YEnd>
</Line>
<Arc>
  <ArcStart>272</ArcStart>
  <XCenter>358.8</XCenter>
  <ArcExtend>180</ArcExtend>
  <YCenter>592.1</YCenter>
  <Radius>5.5</Radius>
</Arc>
<Line>
  <YStart>498.4</YStart>
  <XEnd>356.2</XEnd>
  <XStart>356.6</XStart>
  <YEnd>509.4</YEnd>
</Line>
<Line>
  <YEnd>512.6</YEnd>
  <Color>yellow</Color>
  <YStart>514.7</YStart>
  <XEnd>474.6</XEnd>
  <XStart>469</XStart>
</Line>
<Arc>
  <ArcStart>252</ArcStart>
  <YCenter>505.9</YCenter>
  <Radius>51</Radius>
  <Color>blue</Color>
  <ArcExtend>270</ArcExtend>
  <XCenter>422.4</XCenter>
</Arc>
<Line>
  <XStart>558.9</XStart>
  <YStart>410.7</YStart>
  <YEnd>402</YEnd>
  <XEnd>560.4</XEnd>
  <Color>red</Color>
</Line>
<Line>
  <XEnd>550.3</XEnd>
  <YStart>455.3</YStart>
  <XStart>553.9</XStart>
  <YEnd>461.5</YEnd>
  <Color>yellow</Color>
</Line>
<Arc>
  <XCenter>355.5</XCenter>
  <ArcExtend>359</ArcExtend>
  <Radius>5.5</Radius>
  <ArcStart>272</ArcStart>
  <YCenter>371.8</YCenter>
</Arc>
<Arc>
  <YCenter>489</YCenter>
  <Radius>3</Radius>
  <ArcStart>-40</ArcStart>
  <XCenter>512.3</XCenter>
  <Color>yellow</Color>
  <ArcExtend>359</ArcExtend>
</Arc>
<Arc>
  <ArcExtend>230</ArcExtend>
  <YCenter>505.6</YCenter>
  <ArcStart>205</ArcStart>
  <XCenter>477.3</XCenter>
  <Radius>6.6</Radius>
  <Color>red</Color>
</Arc>
<Arc>
  <XCenter>481</XCenter>
  <YCenter>516</YCenter>
  <Color>red</Color>
  <ArcExtend>225</ArcExtend>
  <ArcStart>250</ArcStart>
  <Radius>4.4</Radius>
</Arc>
<Line>
  <XStart>451.5</XStart>
  <YStart>526.9</YStart>
  <XEnd>447.7</XEnd>
  <YEnd>505.2</YEnd>
  <Color>red</Color>
</Line>
<Line>
  <XEnd>550.7</XEnd>
  <YEnd>433.8</YEnd>
  <XStart>555.2</XStart>
  <YStart>421.4</YStart>
  <Color>red</Color>
</Line>
<Line>
  <YEnd>436.9</YEnd>
  <Color>yellow</Color>
  <XEnd>557</XEnd>
  <XStart>559</XStart>
  <YStart>431.2</YStart>
</Line>
<Arc>
  <XCenter>530.2</XCenter>
  <YCenter>473.3</YCenter>
  <ArcExtend>270</ArcExtend>
  <Color>yellow</Color>
  <ArcStart>130</ArcStart>
  <Radius>3.6</Radius>
</Arc>
<Line>
  <Color>red</Color>
  <YStart>507.5</YStart>
  <XEnd>502.1</XEnd>
  <XStart>510.7</XStart>
  <YEnd>512.5</YEnd>
</Line>
<Line>
  <YStart>472.8</YStart>
  <XEnd>346.2</XEnd>
  <YEnd>479.4</YEnd>
  <XStart>346.5</XStart>
</Line>
<Line>
  <YEnd>597.2</YEnd>
  <YStart>597.6</YStart>
  <XEnd>347.6</XEnd>
  <XStart>358.6</XStart>
</Line>
<Arc>
  <Color>yellow</Color>
  <ArcExtend>230</ArcExtend>
  <Radius>3.6</Radius>
  <YCenter>516.5</YCenter>
  <ArcStart>215</ArcStart>
  <XCenter>448.2</XCenter>
</Arc>
<Line>
  <YEnd>521.1</YEnd>
  <XStart>353.6</XStart>
  <XEnd>344.8</XEnd>
  <YStart>521.4</YStart>
</Line>
<Line>
  <YEnd>446.4</YEnd>
  <XEnd>543.2</XEnd>
  <Color>red</Color>
  <XStart>539.4</XStart>
  <YStart>453</YStart>
</Line>
<Line>
  <YEnd>406.3</YEnd>
  <XStart>581.3</XStart>
  <Color>red</Color>
  <XEnd>559.6</XEnd>
  <YStart>410.1</YStart>
</Line>
<Line>
  <YEnd>480.6</YEnd>
  <XStart>538.6</XStart>
  <XEnd>535.1</XEnd>
  <Color>yellow</Color>
  <YStart>476.4</YStart>
</Line>
<Line>
  <XStart>469.8</XStart>
  <XEnd>473.9</XEnd>
  <YEnd>519.3</YEnd>
  <YStart>508</YStart>
  <Color>yellow</Color>
</Line>
<Line>
  <XStart>562.6</XStart>
  <YEnd>390.6</YEnd>
  <Color>red</Color>
  <YStart>390.6</YStart>
  <XEnd>584.6</XEnd>
</Line>
<Line>
  <YStart>569.8</YStart>
  <XStart>351.9</XStart>
  <YEnd>567.6</YEnd>
  <XEnd>352</XEnd>
</Line>
<Line>
  <XStart>493.8</XStart>
  <YStart>511.4</YStart>
  <Color>yellow</Color>
  <XEnd>487.8</XEnd>
  <YEnd>501</YEnd>
</Line>
<Line>
  <XEnd>562.3</XEnd>
  <Color>red</Color>
  <YEnd>457.4</YEnd>
  <XStart>558.4</XStart>
  <YStart>464</YStart>
</Line>
<Line>
  <YEnd>480.1</YEnd>
  <XStart>368.5</XStart>
  <YStart>473.5</YStart>
  <XEnd>368.2</XEnd>
</Line>
<Line>
  <YStart>458.5</YStart>
  <XStart>545.1</XStart>
  <YEnd>453.3</YEnd>
  <Color>yellow</Color>
  <XEnd>548.1</XEnd>
</Line>
<Line>
  <YEnd>322.5</YEnd>
  <XEnd>364</XEnd>
  <YStart>320.8</YStart>
  <XStart>370.1</XStart>
  <Color>green</Color>
</Line>
<Line>
  <XEnd>502.1</XEnd>
  <Color>red</Color>
  <YEnd>512.5</YEnd>
  <XStart>497.7</XStart>
  <YStart>504.8</YStart>
</Line>
<Arc>
  <YCenter>484.6</YCenter>
  <Color>red</Color>
  <Radius>6.6</Radius>
  <XCenter>517.4</XCenter>
  <ArcStart>185</ArcStart>
  <ArcExtend>230</ArcExtend>
</Arc>
<Line>
  <Color>red</Color>
  <XStart>539.4</XStart>
  <YStart>453</YStart>
  <XEnd>558.4</XEnd>
  <YEnd>464</YEnd>
</Line>
<Line>
  <XEnd>353</XEnd>
  <YStart>443.6</YStart>
  <YEnd>443.3</YEnd>
  <XStart>364</XStart>
</Line>
<Line>
  <XEnd>569.6</XEnd>
  <YEnd>356.1</YEnd>
  <XStart>562.3</XStart>
  <Color>yellow</Color>
  <YStart>364.5</YStart>
</Line>
<Line>
  <YEnd>339.8</YEnd>
  <XEnd>369</XEnd>
  <XStart>375.1</XStart>
  <YStart>338.1</YStart>
  <Color>green</Color>
</Line>
<Arc>
  <ArcStart>150</ArcStart>
  <Radius>6.6</Radius>
  <ArcExtend>270</ArcExtend>
  <Color>red</Color>
  <XCenter>498.2</XCenter>
  <YCenter>496.9</YCenter>
</Arc>
<Line>
  <XStart>497.4</XStart>
  <XEnd>493.8</XEnd>
  <YStart>509.3</YStart>
  <Color>yellow</Color>
  <YEnd>511.4</YEnd>
</Line>
<Line>
  <YEnd>312.3</YEnd>
  <XEnd>399.5</XEnd>
  <YStart>329.7</YStart>
  <XStart>404.5</XStart>
  <Color>green</Color>
</Line>
<Line>
  <YEnd>527</YEnd>
  <XStart>424.2</XStart>
  <XEnd>430.8</XEnd>
  <Color>red</Color>
  <YStart>527</YStart>
</Line>
<Line>
  <XEnd>574.7</XEnd>
  <XStart>562.7</XStart>
  <YEnd>385</YEnd>
  <YStart>380.2</YStart>
  <Color>yellow</Color>
</Line>
<Line>
  <YEnd>505.2</YEnd>
  <Color>red</Color>
  <YStart>502.9</YStart>
  <XStart>460.7</XStart>
  <XEnd>447.7</XEnd>
</Line>
<Arc>
  <XCenter>354.7</XCenter>
  <Radius>5.5</Radius>
  <ArcStart>2</ArcStart>
  <ArcExtend>180</ArcExtend>
  <YCenter>394.9</YCenter>
</Arc>
<Line>
  <Color>yellow</Color>
  <XEnd>472.2</XEnd>
  <XStart>469</XStart>
  <YEnd>519.9</YEnd>
  <YStart>514.7</YStart>
</Line>
<Line>
  <YEnd>364.5</YEnd>
  <XEnd>562.3</XEnd>
  <YStart>357.4</YStart>
  <Color>yellow</Color>
  <XStart>561</XStart>
</Line>
<Arc>
  <ArcStart>180</ArcStart>
  <ArcExtend>180</ArcExtend>
  <Radius>5.5</Radius>
  <YCenter>382.9</YCenter>
  <XCenter>568.1</XCenter>
  <Color>red</Color>
</Arc>
<Line>
  <YEnd>504.3</YEnd>
  <XEnd>367.4</XEnd>
  <YStart>503.5</YStart>
  <XStart>345.4</XStart>
</Line>
<Arc>
  <ArcStart>210</ArcStart>
  <ArcExtend>180</ArcExtend>
  <YCenter>454.6</YCenter>
  <Color>red</Color>
  <XCenter>557.5</XCenter>
  <Radius>5.5</Radius>
</Arc>
<Arc>
  <ArcExtend>225</ArcExtend>
  <YCenter>522.4</YCenter>
  <Color>yellow</Color>
  <ArcStart>260</ArcStart>
  <Radius>2.4</Radius>
  <XCenter>449.2</XCenter>
</Arc>
<Line>
  <YEnd>387</YEnd>
  <XStart>371.5</XStart>
  <YStart>387.8</YStart>
  <XEnd>349.5</XEnd>
</Line>
<Arc>
  <ArcStart>210</ArcStart>
  <ArcExtend>180</ArcExtend>
  <XCenter>548</XCenter>
  <Color>red</Color>
  <Radius>5.5</Radius>
  <YCenter>449.1</YCenter>
</Arc>
<Arc>
  <Color>red</Color>
  <ArcStart>270</ArcStart>
  <YCenter>516</YCenter>
  <Radius>11</Radius>
  <XCenter>430.8</XCenter>
  <ArcExtend>180</ArcExtend>
</Arc>
<Line>
  <XEnd>348</XEnd>
  <XStart>359</XStart>
  <YEnd>586.2</YEnd>
  <YStart>586.6</YStart>
</Line>
<Line>
  <YStart>500.2</YStart>
  <YEnd>498.4</YEnd>
  <XEnd>356.6</XEnd>
  <XStart>345.5</XStart>
</Line>
<Line>
  <XStart>368.9</XStart>
  <YEnd>466.2</YEnd>
  <YStart>459.8</YStart>
  <XEnd>346.7</XEnd>
</Line>
<Arc>
  <Color>red</Color>
  <Radius>5.5</Radius>
  <ArcStart>180</ArcStart>
  <XCenter>579.1</XCenter>
  <YCenter>382.9</YCenter>
  <ArcExtend>180</ArcExtend>
</Arc>
<Arc>
  <ArcExtend>180</ArcExtend>
  <Color>green</Color>
  <YCenter>326.8</YCenter>
  <Radius>4.5</Radius>
  <XCenter>365.3</XCenter>
  <ArcStart>74</ArcStart>
</Arc>
<Line>
  <XEnd>549.7</XEnd>
  <YEnd>474.7</YEnd>
  <Color>red</Color>
  <YStart>482.3</YStart>
  <XStart>543.3</XStart>
</Line>
<Line>
  <YEnd>476.6</YEnd>
  <YStart>473.3</YStart>
  <XEnd>536.6</XEnd>
  <XStart>539.4</XStart>
  <Color>red</Color>
</Line>
<Line>
  <XEnd>353.4</XEnd>
  <YEnd>525.8</YEnd>
  <YStart>521.4</YStart>
  <XStart>353.6</XStart>
</Line>
<Line>
  <XEnd>520</XEnd>
  <XStart>521.7</XStart>
  <YStart>489.7</YStart>
  <YEnd>491.1</YEnd>
  <Color>red</Color>
</Line>
<Line>
  <XEnd>490.8</XEnd>
  <YEnd>506.2</YEnd>
  <XStart>494.4</XStart>
  <YStart>504.1</YStart>
  <Color>yellow</Color>
</Line>
<Line>
  <YStart>432.7</YStart>
  <XStart>364.4</XStart>
  <XEnd>353.4</XEnd>
  <YEnd>432.3</YEnd>
</Line>
<Arc>
  <Radius>6.6</Radius>
  <ArcStart>130</ArcStart>
  <ArcExtend>270</ArcExtend>
  <YCenter>469</YCenter>
  <Color>red</Color>
  <XCenter>534.3</XCenter>
</Arc>
<Line>
  <YStart>489.3</YStart>
  <XStart>363.4</XStart>
  <Color>blue</Color>
  <YEnd>510.3</YEnd>
  <XEnd>298.7</XEnd>
</Line>
<Arc>
  <Radius>3</Radius>
  <Color>yellow</Color>
  <ArcStart>240</ArcStart>
  <ArcExtend>180</ArcExtend>
  <YCenter>506.7</YCenter>
  <XCenter>495.9</XCenter>
</Arc>
<Line>
  <XStart>388.9</XStart>
  <Color>green</Color>
  <YEnd>325.2</YEnd>
  <XEnd>380.7</XEnd>
  <YStart>334.1</YStart>
</Line>
<Arc>
  <ArcStart>74</ArcStart>
  <Color>green</Color>
  <Radius>4.5</Radius>
  <YCenter>335.5</YCenter>
  <ArcExtend>180</ArcExtend>
  <XCenter>367.8</XCenter>
</Arc>
<Line>
  <XStart>372.1</XStart>
  <YEnd>376.3</YEnd>
  <XEnd>358.6</XEnd>
  <YStart>370.2</YStart>
</Line>
<Line>
  <XStart>420.2</XStart>
  <XEnd>420.2</XEnd>
  <Color>yellow</Color>
  <YStart>514</YStart>
  <YEnd>526</YEnd>
</Line>
<Arc>
  <XCenter>364.2</XCenter>
  <YCenter>438.2</YCenter>
  <ArcExtend>180</ArcExtend>
  <Radius>5.5</Radius>
  <ArcStart>272</ArcStart>
</Arc>
<Line>
  <XStart>535.1</XStart>
  <XEnd>531.5</XEnd>
  <YEnd>477.5</YEnd>
  <YStart>480.6</YStart>
  <Color>yellow</Color>
</Line>
<Line>
  <Color>yellow</Color>
  <YStart>514</YStart>
  <YEnd>514</YEnd>
  <XEnd>423.8</XEnd>
  <XStart>420.2</XStart>
</Line>
<Arc>
  <YCenter>501.5</YCenter>
  <ArcStart>240</ArcStart>
  <XCenter>492.9</XCenter>
  <ArcExtend>180</ArcExtend>
  <Radius>3</Radius>
  <Color>yellow</Color>
</Arc>
<Line>
  <YStart>466.2</YStart>
  <XStart>346.7</XStart>
  <YEnd>455.2</YEnd>
  <XEnd>347.1</XEnd>
</Line>
<Line>
  <Color>blue</Color>
  <YStart>314.3</YStart>
  <YEnd>356.7</YEnd>
  <XStart>324.4</XStart>
  <XEnd>248.8</XEnd>
</Line>
<Line>
  <XEnd>424.2</XEnd>
  <Color>red</Color>
  <YStart>527</YStart>
  <XStart>424.2</XStart>
  <YEnd>505</YEnd>
</Line>
<Line>
  <YStart>457.7</YStart>
  <YEnd>464.3</YEnd>
  <XStart>358</XStart>
  <XEnd>357.8</XEnd>
</Line>
<Line>
  <YStart>186.9</YStart>
  <Color>blue</Color>
  <XEnd>219.9</XEnd>
  <YEnd>267.8</YEnd>
  <XStart>193.7</XStart>
</Line>
<Arc>
  <YCenter>493</YCenter>
  <ArcExtend>225</ArcExtend>
  <ArcStart>230</ArcStart>
  <Radius>4.4</Radius>
  <XCenter>524.5</XCenter>
  <Color>red</Color>
</Arc>
<Arc>
  <ArcExtend>230</ArcExtend>
  <XCenter>358.5</XCenter>
  <ArcStart>317</ArcStart>
  <Radius>6.6</Radius>
  <YCenter>570</YCenter>
</Arc>
<Line>
  <YEnd>526</YEnd>
  <XStart>423.8</XStart>
  <Color>yellow</Color>
  <XEnd>420.2</XEnd>
  <YStart>526</YStart>
</Line>
<Arc>
  <ArcExtend>270</ArcExtend>
  <Radius>6.6</Radius>
  <ArcStart>272</ArcStart>
  <YCenter>526.1</YCenter>
  <XCenter>360</XCenter>
</Arc>
<Line>
  <YEnd>512.6</YEnd>
  <XStart>479.5</XStart>
  <YStart>511.8</YStart>
  <Color>red</Color>
  <XEnd>477.5</XEnd>
</Line>
<Line>
  <YStart>475.6</YStart>
  <Color>yellow</Color>
  <XEnd>531.5</XEnd>
  <XStart>533</XStart>
  <YEnd>477.5</YEnd>
</Line>
<Line>
  <XEnd>372.6</XEnd>
  <XStart>366.5</XStart>
  <Color>green</Color>
  <YEnd>329.4</YEnd>
  <YStart>331.2</YStart>
</Line>
<Line>
  <YEnd>516.1</YEnd>
  <YStart>514.1</YStart>
  <XStart>460.4</XStart>
  <Color>red</Color>
  <XEnd>449.6</XEnd>
</Line>
<Line>
  <YEnd>505</YEnd>
  <Color>red</Color>
  <XEnd>424.2</XEnd>
  <XStart>430.8</XStart>
  <YStart>505</YStart>
</Line>
<Line>
  <YStart>510.3</YStart>
  <XStart>298.7</XStart>
  <YEnd>583</YEnd>
  <XEnd>322.4</XEnd>
  <Color>blue</Color>
</Line>
<Arc>
  <Radius>5.5</Radius>
  <ArcExtend>180</ArcExtend>
  <ArcStart>92</ArcStart>
  <YCenter>437.8</YCenter>
  <XCenter>353.2</XCenter>
</Arc>
<Line>
  <YStart>390.6</YStart>
  <XStart>573.6</XStart>
  <XEnd>573.6</XEnd>
  <Color>red</Color>
  <YEnd>382.9</YEnd>
</Line>
<Line>
  <YStart>387</YStart>
  <YEnd>394.7</YEnd>
  <XStart>349.5</XStart>
  <XEnd>349.2</XEnd>
</Line>
<Line>
  <XEnd>562.7</XEnd>
  <YEnd>389.8</YEnd>
  <XStart>574.7</XStart>
  <Color>yellow</Color>
  <YStart>385</YStart>
</Line>
<Line>
  <YStart>520.1</YStart>
  <XEnd>447.6</XEnd>
  <XStart>448.8</XStart>
  <Color>yellow</Color>
  <YEnd>520.3</YEnd>
</Line>
<Line>
  <YStart>476.6</YStart>
  <YEnd>482.3</YEnd>
  <XStart>536.6</XStart>
  <Color>red</Color>
  <XEnd>543.3</XEnd>
</Line>
<Line>
  <YEnd>387.4</YEnd>
  <XStart>568.7</XStart>
  <XEnd>568.7</XEnd>
  <YStart>382.6</YStart>
  <Color>yellow</Color>
</Line>
<Arc>
  <ArcExtend>359</ArcExtend>
  <ArcStart>272</ArcStart>
  <XCenter>359.8</XCenter>
  <Radius>6.1</Radius>
  <YCenter>548.1</YCenter>
</Arc>
<Arc>
  <ArcExtend>180</ArcExtend>
  <ArcStart>-70</ArcStart>
  <XCenter>567.9</XCenter>
  <Radius>6.1</Radius>
  <YCenter>433.1</YCenter>
  <Color>red</Color>
</Arc>
<Arc>
  <ArcExtend>180</ArcExtend>
  <YCenter>479.7</YCenter>
  <XCenter>357.2</XCenter>
  <ArcStart>2</ArcStart>
  <Radius>11</Radius>
</Arc>
<Line>
  <YEnd>433.8</YEnd>
  <YStart>427.4</YStart>
  <Color>red</Color>
  <XEnd>550.7</XEnd>
  <XStart>570</XStart>
</Line>
<Line>
  <XEnd>364.5</XEnd>
  <YStart>267.8</YStart>
  <XStart>219.9</XStart>
  <Color>blue</Color>
  <YEnd>162.7</YEnd>
</Line>
<Line>
  <YStart>432.2</YStart>
  <XEnd>562.6</XEnd>
  <YEnd>438.9</YEnd>
  <XStart>565.1</XStart>
  <Color>yellow</Color>
</Line>
<Line>
  <Color>green</Color>
  <YStart>319.8</YStart>
  <YEnd>311.6</YEnd>
  <XStart>406.3</XStart>
  <XEnd>402.1</XEnd>
</Line>
<Arc>
  <ArcStart>2</ArcStart>
  <YCenter>569.6</YCenter>
  <ArcExtend>225</ArcExtend>
  <Radius>4.4</Radius>
  <XCenter>347.5</XCenter>
</Arc>
<Line>
  <XEnd>491.4</XEnd>
  <XStart>487.8</XStart>
  <Color>yellow</Color>
  <YStart>501</YStart>
  <YEnd>498.9</YEnd>
</Line>
<Arc>
  <ArcExtend>180</ArcExtend>
  <Radius>3.3</Radius>
  <YCenter>359.4</YCenter>
  <XCenter>570.2</XCenter>
  <ArcStart>-100</ArcStart>
  <Color>yellow</Color>
</Arc>
<Line>
  <YEnd>314.3</YEnd>
  <XStart>350.7</XStart>
  <XEnd>324.4</XEnd>
  <Color>blue</Color>
  <YStart>395.1</YStart>
</Line>
<Line>
  <XStart>371.5</XStart>
  <YEnd>395.5</YEnd>
  <YStart>387.8</YStart>
  <XEnd>371.2</XEnd>
</Line>
<Arc>
  <ArcStart>2</ArcStart>
  <XCenter>348.8</XCenter>
  <YCenter>547.7</YCenter>
  <ArcExtend>359</ArcExtend>
  <Radius>5</Radius>
</Arc>
<Line>
  <Color>red</Color>
  <XStart>548.9</XStart>
  <XEnd>552.8</XEnd>
  <YStart>458.5</YStart>
  <YEnd>451.9</YEnd>
</Line>
<Line>
  <XEnd>571.7</XEnd>
  <YStart>411.9</YStart>
  <XStart>564</XStart>
  <Color>yellow</Color>
  <YEnd>409.6</YEnd>
</Line>
<Line>
  <YEnd>420.4</YEnd>
  <YStart>411.6</YStart>
  <XStart>359.6</XStart>
  <XEnd>359.3</XEnd>
</Line>
<Line>
  <XEnd>370.2</XEnd>
  <XStart>348.5</XStart>
  <YEnd>425.2</YEnd>
  <YStart>415.6</YStart>
</Line>
<Arc>
  <XCenter>423.8</XCenter>
  <ArcExtend>180</ArcExtend>
  <Radius>6</Radius>
  <Color>yellow</Color>
  <YCenter>520</YCenter>
  <ArcStart>270</ArcStart>
</Arc>
<Line>
  <YStart>380.9</YStart>
  <Color>blue</Color>
  <YEnd>328.4</YEnd>
  <XStart>256.7</XStart>
  <XEnd>418.4</XEnd>
</Line>
<Line>
  <Color>yellow</Color>
  <YStart>495.2</YStart>
  <YEnd>492</YEnd>
  <XEnd>511.6</XEnd>
  <XStart>519</XStart>
</Line>
<Arc>
  <Color>green</Color>
  <Radius>4.5</Radius>
  <ArcStart>344</ArcStart>
  <ArcExtend>359</ArcExtend>
  <YCenter>321.6</YCenter>
  <XCenter>383.5</XCenter>
</Arc>
<Line>
  <YStart>438.9</YStart>
  <XEnd>551.3</XEnd>
  <Color>yellow</Color>
  <XStart>562.6</XStart>
  <YEnd>434.8</YEnd>
</Line>
<Arc>
  <YCenter>409.3</YCenter>
  <ArcStart>-80</ArcStart>
  <Radius>3</Radius>
  <ArcExtend>359</ArcExtend>
  <Color>yellow</Color>
  <XCenter>562.6</XCenter>
</Arc>
<Line>
  <Color>green</Color>
  <YStart>320.8</YStart>
  <XEnd>375.1</XEnd>
  <XStart>370.1</XStart>
  <YEnd>338.1</YEnd>
</Line>
<Line>
  <YEnd>387.4</YEnd>
  <YStart>395.1</YStart>
  <XStart>360.2</XStart>
  <XEnd>360.5</XEnd>
</Line>
</ppcPlot>


Here is my generated img
Image

the text I get:
Blue: 745
Green: 49B
Red: DE3535B21B
Yellow: D34B65EE6A2
White: 9BA07D45830
Answer I try to submit: 745,49B,DE3535B21B,D34B65EE6A2,9BA07D45830

I've tried submitting it with and without commas. Could anyone tell me what I'm doing wrong?
Last edited by Valar_Dragon on Thu Dec 24, 2015 11:43 pm, edited 1 time in total.
Valar_Dragon
New User
New User
 
Posts: 18
Joined: Sat Oct 17, 2015 10:47 am
Blog: View Blog (0)


Re: Programming 4

Post by pretentious on Thu Dec 24, 2015 9:21 pm
([msg=91041]see Re: Programming 4[/msg])

I tried this one recently, it didn't work and i rage quit.
Interested to see if anyone can elaborate
Goatboy wrote:Oh, that's simple. All you need to do is dedicate many years of your life to studying security.

IF you feel like exchanging ASCII arrays, let me know ;)
Can you say brainwashing It's a non stop disco
User avatar
pretentious
Addict
Addict
 
Posts: 1203
Joined: Wed Mar 03, 2010 12:48 am
Blog: View Blog (0)


Re: Programming 4

Post by Valar_Dragon on Mon Dec 28, 2015 9:51 am
([msg=91071]see Re: Programming 4[/msg])

Could anyone confirm that the challenge is working still?
Valar_Dragon
New User
New User
 
Posts: 18
Joined: Sat Oct 17, 2015 10:47 am
Blog: View Blog (0)


Re: Programming 4

Post by HTS_Legend on Wed Jan 20, 2016 10:36 am
([msg=91346]see Re: Programming 4[/msg])

The challenge is working perfectly. I've just completed it. Make sure that you download the file every single time you try to solve it because it's randomly generated. Don't just press the back button and try submitting again
HTS_Legend
New User
New User
 
Posts: 3
Joined: Sat Jun 30, 2012 8:09 pm
Blog: View Blog (0)


Re: Programming 4

Post by acceptthisusernameffs on Mon Oct 17, 2016 3:09 pm
([msg=93020]see Re: Programming 4[/msg])

I've written a code which can draw the lines good but the arcs seem to be a bit disoriented, although it can draw exactly the example given (the one with just a line and an arc) in the link of the challange so I suppose some math is done right. Am I missing something? any idea of why are my arcs so weird? I've already read and documented about how the functions work but can't make it. (I'm using JavaScript's canvas)

Here's my drawing with the code of the original poster.
Image
acceptthisusernameffs
New User
New User
 
Posts: 2
Joined: Mon Oct 17, 2016 10:14 am
Blog: View Blog (0)


Re: Programming 4

Post by sharpskater69 on Mon Oct 24, 2016 6:39 pm
([msg=93039]see Re: Programming 4[/msg])

acceptthisusernameffs wrote:I've written a code which can draw the lines good but the arcs seem to be a bit disoriented, although it can draw exactly the example given (the one with just a line and an arc) in the link of the challange so I suppose some math is done right. Am I missing something? any idea of why are my arcs so weird? I've already read and documented about how the functions work but can't make it. (I'm using JavaScript's canvas)

Here's my drawing with the code of the original poster.
Image


Looking at your result assuming the original post has the correct image, it seems your arcs are inconsistent. For example, in the white text the 3 is fine, but not in the yellow. Other times the arc is drawn in the wrong place, or maybe rotated the wrong way. Situations with half circles seem to be fine though. Just look more closely at how you are parsing the arcs, you'll get it.
sharpskater69
New User
New User
 
Posts: 36
Joined: Tue Apr 22, 2008 4:10 pm
Blog: View Blog (0)


Re: Programming 4

Post by acceptthisusernameffs on Wed Nov 02, 2016 7:56 am
([msg=93066]see Re: Programming 4[/msg])

I've been trying different options, i've noticed that there are many '2's as "ArcStart" or "ArcExtend" so i've also tried parsing them as radians already, but no success... can someone PM me his code on this? or let me PM my code to see what's wrong? I guess posting it would be spoilerish
acceptthisusernameffs
New User
New User
 
Posts: 2
Joined: Mon Oct 17, 2016 10:14 am
Blog: View Blog (0)


Re: Programming 4

Post by SuperHacker01 on Fri Nov 04, 2016 9:58 am
([msg=93080]see Re: Programming 4[/msg])

Well, it looks very close. Take another look at the example and see where your answer the examples differ. I see that your code is mirror reversed or perhaps backwards. It might just be a negative sign issue somewhere. I remember this one taking some time to sort out negatives. It depends on how you are drawing it what your coordinates will be. You might be able to use your code as is and try a screenshot and image manipulation to reverse the image. Or you might just rewrite your code to get the correct answer!
SuperHacker01
New User
New User
 
Posts: 4
Joined: Wed Oct 07, 2015 3:24 pm
Blog: View Blog (0)


Re: Programming 4

Post by andMrks on Sat Aug 25, 2018 5:58 am
([msg=96146]see Re: Programming 4[/msg])

acceptthisusernameffs wrote:I've been trying different options, i've noticed that there are many '2's as "ArcStart" or "ArcExtend" so i've also tried parsing them as radians already, but no success... can someone PM me his code on this? or let me PM my code to see what's wrong? I guess posting it would be spoilerish

you see, that is 'ArcStart' and 'ArcExtend', NOT 'ArcStart' and 'ArcEnd'...
andMrks
New User
New User
 
Posts: 1
Joined: Tue Aug 21, 2018 12:27 am
Blog: View Blog (0)


Re: Programming 4

Post by oasis on Thu Oct 25, 2018 7:20 pm
([msg=96514]see Re: Programming 4[/msg])

I have no idea what I am doing wrong. it looks correct most of the time.
Image

These are the letters I thought it looked like:
119,D7A105,7867F6CE4D5,BF00BF20F0,E72BD7FBC9D
oasis
New User
New User
 
Posts: 26
Joined: Thu Apr 24, 2008 12:57 pm
Blog: View Blog (0)


Next

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron