This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2021:common:projects:pctx [2021/01/26 15:56] – [Subtract by nine, get increment] wedge | haas:spring2021:common:projects:pctx [2021/08/01 21:47] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
For example, if you are working on pct1, when you see an a project reference of " | For example, if you are working on pct1, when you see an a project reference of " | ||
- | New in spring2021: I've made some alterations to administration/ | + | New in spring2021: I've made some alterations to administration/ |
- | * your solution must be NOW fewer than puzzle base number of lines (ie if the puzzle base is 10, your solution can NOT be shorter than 10 lines) | + | * your solution must be NO fewer than puzzle base number of lines (ie if the puzzle base is 10, your solution can NOT be shorter than 10 lines) |
* your solution must routinely show your progress, the WHY and HOW of your process, that leads you from start to completion | * your solution must routinely show your progress, the WHY and HOW of your process, that leads you from start to completion | ||
* I will no longer confirm puzzle keys: giving them out deprives you of cultivating necessary debugging skills to ascertain that on your own | * I will no longer confirm puzzle keys: giving them out deprives you of cultivating necessary debugging skills to ascertain that on your own | ||
Line 265: | Line 265: | ||
Why 9? Because of a borrow! | Why 9? Because of a borrow! | ||
+ | < | ||
((5-1)+10)-5 = (4+10)-5 = 14 - 5 = 9 | ((5-1)+10)-5 = (4+10)-5 = 14 - 5 = 9 | ||
+ | </ | ||
... that can be quite revealing too! | ... that can be quite revealing too! | ||
Line 282: | Line 284: | ||
Usually, that would result in a 0. BUT, we also know that K can NOT be 0 (looking at our range table above). | Usually, that would result in a 0. BUT, we also know that K can NOT be 0 (looking at our range table above). | ||
- | So, that means it is being borrowed from, and it itself has to borrow, so we now also know that M is less than K (M << K). | + | So, that means it is being borrowed from, and it itself has to borrow, so we now also know that M is less than K < |
And, as indicated above: | And, as indicated above: | ||
- | ((R-1)+10)-R = 9! | + | < |
We now know that K = 9! | We now know that K = 9! | ||
Line 543: | Line 545: | ||
=====Getting started===== | =====Getting started===== | ||
- | In the **pctX/** sub-directory of your class Public Directory, under a directory by the name of your username, you will find the following file: | + | In the **pctX/** sub-directory of your class Public Directory, under a directory by the name of your username, you will find the following file(s): |
* **puzzle** | * **puzzle** | ||
+ | * possibly also a file called **table** | ||
- | Copy this file into your local project directory. | + | Copy this file into your local project directory. For some classes, a **grabit** is available. For others, you'll have to manually copy the file on your own. |
There is also a **MANIFEST** file in the parent directory (the **pctX/** sub-directory), | There is also a **MANIFEST** file in the parent directory (the **pctX/** sub-directory), | ||
Line 555: | Line 558: | ||
Here's another take on how to get started: | Here's another take on how to get started: | ||
- | * [[/haas/fall2020/ | + | * [[/haas/spring2021/ |
=====Process===== | =====Process===== | ||
Solve, document, and verify the puzzle. | Solve, document, and verify the puzzle. | ||
Line 1006: | Line 1009: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 1012: | Line 1015: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
- | Checking | + | Checking |
> checking key file ... | > checking key file ... | ||
> key file exists: pctX.puzzle.key | > key file exists: pctX.puzzle.key | ||
Line 1026: | Line 1029: | ||
> verify is NOT of incorrect format | > verify is NOT of incorrect format | ||
- | Checking | + | Checking |
</ | </ | ||
=====Submission===== | =====Submission===== | ||
Line 1040: | Line 1043: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
- | Submitting | + | Submitting |
-> pctX.puzzle.key(OK) | -> pctX.puzzle.key(OK) | ||
-> pctX.puzzle.solution(OK) | -> pctX.puzzle.solution(OK) | ||
Line 1049: | Line 1052: | ||
</ | </ | ||
- | NOTE: "desig" here is your class designation. It can be something like " | + | NOTE: "DESIG" here is your class designation. It can be something like " |
You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches. | You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches. |