From b718232f6d499a591a0c57f7c8f223361e440fd0 Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Sun, 4 Feb 2018 12:50:33 -0700 Subject: [PATCH 1/6] armstrong-numbers: Regenerate exercise README to pick up new content from insert --- exercises/armstrong-numbers/README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/exercises/armstrong-numbers/README.md b/exercises/armstrong-numbers/README.md index 344b65fb4e..cada2cb394 100644 --- a/exercises/armstrong-numbers/README.md +++ b/exercises/armstrong-numbers/README.md @@ -1,3 +1,5 @@ +# Armstrong Numbers + An [Armstrong number](https://en.wikipedia.org/wiki/Narcissistic_number) is a number that is the sum of its own digits each raised to the power of the number of digits. For example: @@ -7,4 +9,16 @@ For example: - 153 is an Armstrong number, because: `153 = 1^3 + 5^3 + 3^3 = 1 + 125 + 27 = 153` - 154 is *not* an Armstrong number, because: `154 != 1^3 + 5^3 + 4^3 = 1 + 125 + 64 = 190` -Write some code to determine whether a number is an Armstrong number. \ No newline at end of file +Write some code to determine whether a number is an Armstrong number. + +### Submitting Exercises + +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. + +For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +## Source + +Wikipedia [https://en.wikipedia.org/wiki/Narcissistic_number](https://en.wikipedia.org/wiki/Narcissistic_number) + +## Submitting Incomplete Solutions +It's possible to submit an incomplete solution so you can see how others have completed the exercise. From 324d302d18f0230b1a0ff8277eb8ce40aeccca08 Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Sun, 4 Feb 2018 12:52:28 -0700 Subject: [PATCH 2/6] reverse-string: Regenerate exercise README to pick up new content from insert --- exercises/reverse-string/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/exercises/reverse-string/README.md b/exercises/reverse-string/README.md index dbe29b99c3..6358d54155 100644 --- a/exercises/reverse-string/README.md +++ b/exercises/reverse-string/README.md @@ -1,3 +1,19 @@ +# Reverse String + Reverse a string -For example: input: "cool" output: "looc" \ No newline at end of file +For example: +input: "cool" +output: "looc" + +### Submitting Exercises + +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. + +For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +## Source + +Introductory challenge to reverse an input string [https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb](https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb) + +## Submitting Incomplete Solutions +It's possible to submit an incomplete solution so you can see how others have completed the exercise. From 22f950e407e87078e846844eca449dc0b87b33ea Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Sun, 4 Feb 2018 12:55:11 -0700 Subject: [PATCH 3/6] Regenerate exercise READMEs to pick up tweaks to descriptions The upstream problem specifications have gotten a number of formatting and whitespace tweaks, as well as some clarifications to the description text. This regenerates all the exercise READMEs to pull in upstream changes. --- exercises/accumulate/README.md | 3 -- exercises/acronym/README.md | 1 - exercises/all-your-base/README.md | 2 +- exercises/allergies/README.md | 1 - exercises/alphametics/README.md | 4 +- exercises/atbash-cipher/README.md | 3 +- exercises/beer-song/README.md | 4 +- exercises/binary/README.md | 2 + exercises/bob/README.md | 3 +- exercises/book-store/README.md | 10 ++-- exercises/bowling/README.md | 26 +++++++--- exercises/change/README.md | 2 +- exercises/circular-buffer/README.md | 19 ++++--- exercises/collatz-conjecture/README.md | 5 +- exercises/connect/README.md | 2 +- exercises/crypto-square/README.md | 18 ++++--- exercises/diamond/README.md | 16 +++--- exercises/dominoes/README.md | 15 ++++-- exercises/dot-dsl/README.md | 2 +- exercises/etl/README.md | 4 +- exercises/flatten-array/README.md | 3 +- exercises/food-chain/README.md | 2 +- exercises/go-counting/README.md | 2 +- exercises/grade-school/README.md | 1 - exercises/grains/README.md | 1 - exercises/grep/README.md | 24 ++++----- exercises/house/README.md | 5 +- exercises/isbn-verifier/README.md | 53 ++++++++++++-------- exercises/isogram/README.md | 3 +- exercises/kindergarten-garden/README.md | 26 +++++----- exercises/leap/README.md | 2 +- exercises/linked-list/README.md | 20 ++++---- exercises/luhn/README.md | 14 +++--- exercises/matrix/README.md | 10 ++-- exercises/meetup/README.md | 29 ++++++----- exercises/nucleotide-count/README.md | 30 +++-------- exercises/ocr-numbers/README.md | 12 ++--- exercises/octal/README.md | 8 ++- exercises/palindrome-products/README.md | 31 ++++++------ exercises/pangram/README.md | 2 +- exercises/pascals-triangle/README.md | 4 +- exercises/perfect-numbers/README.md | 4 +- exercises/phone-number/README.md | 7 +-- exercises/pov/README.md | 8 ++- exercises/protein-translation/README.md | 11 ++-- exercises/proverb/README.md | 25 +++++---- exercises/pythagorean-triplet/README.md | 6 +-- exercises/queen-attack/README.md | 2 +- exercises/rail-fence-cipher/README.md | 19 ++++--- exercises/rectangles/README.md | 32 ++++++------ exercises/rna-transcription/README.md | 4 +- exercises/roman-numerals/README.md | 2 +- exercises/rotational-cipher/README.md | 3 +- exercises/run-length-encoding/README.md | 8 +-- exercises/saddle-points/README.md | 4 +- exercises/scale-generator/README.md | 1 - exercises/scrabble-score/README.md | 4 +- exercises/secret-handshake/README.md | 2 +- exercises/sgf-parsing/README.md | 8 +-- exercises/simple-cipher/README.md | 12 ++--- exercises/space-age/README.md | 2 +- exercises/spiral-matrix/README.md | 12 ++--- exercises/sum-of-multiples/README.md | 9 ++-- exercises/tournament/README.md | 10 ++-- exercises/transpose/README.md | 14 +++--- exercises/tree-building/README.md | 6 +-- exercises/triangle/README.md | 15 +++--- exercises/trinary/README.md | 2 +- exercises/twelve-days/README.md | 2 +- exercises/two-bucket/README.md | 20 ++++---- exercises/two-fer/README.md | 14 +++--- exercises/variable-length-quantity/README.md | 13 +++-- exercises/word-count/README.md | 3 +- exercises/word-search/README.md | 2 +- exercises/wordy/README.md | 5 -- exercises/zipper/README.md | 2 +- 76 files changed, 379 insertions(+), 338 deletions(-) diff --git a/exercises/accumulate/README.md b/exercises/accumulate/README.md index 3d1a1f540f..c5b2fbcde6 100644 --- a/exercises/accumulate/README.md +++ b/exercises/accumulate/README.md @@ -25,9 +25,6 @@ Keep your hands off that collect/map/fmap/whatchamacallit functionality provided by your standard library! Solve this one yourself using other basic tools instead. -Lisp specific: it's perfectly fine to use `MAPCAR` or the equivalent, -as this is idiomatic Lisp, not a library function. - ## Hints This exercise requires you to write an extension method. For more information, see [this page](https://msdn.microsoft.com/en-us//library/bb383977.aspx). diff --git a/exercises/acronym/README.md b/exercises/acronym/README.md index 279416222d..681e63a39d 100644 --- a/exercises/acronym/README.md +++ b/exercises/acronym/README.md @@ -7,7 +7,6 @@ Techies love their TLA (Three Letter Acronyms)! Help generate some jargon by writing a program that converts a long name like Portable Network Graphics to its acronym (PNG). - ### Submitting Exercises Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. diff --git a/exercises/all-your-base/README.md b/exercises/all-your-base/README.md index 0d5377f44e..56f14e670e 100644 --- a/exercises/all-your-base/README.md +++ b/exercises/all-your-base/README.md @@ -6,6 +6,7 @@ Implement general base conversion. Given a number in base **a**, represented as a sequence of digits, convert it to base **b**. ## Note + - Try to implement the conversion yourself. Do not use something else to perform the conversion for you. @@ -28,7 +29,6 @@ The number 1120, *in base 3*, means: I think you got the idea! - *Yes. Those three numbers above are exactly the same. Congratulations!* ### Submitting Exercises diff --git a/exercises/allergies/README.md b/exercises/allergies/README.md index d9b2bc08d2..6e3ca70af9 100644 --- a/exercises/allergies/README.md +++ b/exercises/allergies/README.md @@ -29,7 +29,6 @@ allergens that score 256, 512, 1024, etc.). Your program should ignore those components of the score. For example, if the allergy score is 257, your program should only report the eggs (1) allergy. - ## Hints This exercise requires you to use bitwise operations. For more information, see [this page](https://msdn.microsoft.com/en-us/library/6a71f45d.aspx). diff --git a/exercises/alphametics/README.md b/exercises/alphametics/README.md index a2de057756..b75a580261 100644 --- a/exercises/alphametics/README.md +++ b/exercises/alphametics/README.md @@ -7,7 +7,7 @@ letters in words are replaced with numbers. For example `SEND + MORE = MONEY`: -``` +```text S E N D M O R E + ----------- @@ -16,7 +16,7 @@ M O N E Y Replacing these with valid numbers gives: -``` +```text 9 5 6 7 1 0 8 5 + ----------- diff --git a/exercises/atbash-cipher/README.md b/exercises/atbash-cipher/README.md index 2aec4cfc5c..30535e3852 100644 --- a/exercises/atbash-cipher/README.md +++ b/exercises/atbash-cipher/README.md @@ -9,7 +9,7 @@ letter, the second with the second-last, and so on. An Atbash cipher for the Latin alphabet would be as follows: -```plain +```text Plain: abcdefghijklmnopqrstuvwxyz Cipher: zyxwvutsrqponmlkjihgfedcba ``` @@ -23,6 +23,7 @@ being 5 letters, and punctuation is excluded. This is to make it harder to guess things based on word boundaries. ## Examples + - Encoding `test` gives `gvhg` - Decoding `gvhg` gives `test` - Decoding `gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt` gives `thequickbrownfoxjumpsoverthelazydog` diff --git a/exercises/beer-song/README.md b/exercises/beer-song/README.md index dae9d2669f..01770f3629 100644 --- a/exercises/beer-song/README.md +++ b/exercises/beer-song/README.md @@ -1,10 +1,10 @@ # Beer Song -Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall. +Recite the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall. Note that not all verses are identical. -```plain +```text 99 bottles of beer on the wall, 99 bottles of beer. Take one down and pass it around, 98 bottles of beer on the wall. diff --git a/exercises/binary/README.md b/exercises/binary/README.md index bdbc9169c2..e514b80df0 100644 --- a/exercises/binary/README.md +++ b/exercises/binary/README.md @@ -7,10 +7,12 @@ string, your program should produce a decimal output. The program should handle invalid inputs. ## Note + - Implement the conversion yourself. Do not use something else to perform the conversion for you. ## About Binary (Base-2) + Decimal is a base-10 system. A number 23 in base 10 notation can be understood diff --git a/exercises/bob/README.md b/exercises/bob/README.md index d49a4029c8..c0a5ee152d 100644 --- a/exercises/bob/README.md +++ b/exercises/bob/README.md @@ -8,7 +8,8 @@ He answers 'Whoa, chill out!' if you yell at him. He answers 'Calm down, I know what I'm doing!' if you yell a question at him. -He says 'Fine. Be that way!' if you address him without actually saying anything. +He says 'Fine. Be that way!' if you address him without actually saying +anything. He answers 'Whatever.' to anything else. diff --git a/exercises/book-store/README.md b/exercises/book-store/README.md index 3d435ef9fa..bad3da2adc 100644 --- a/exercises/book-store/README.md +++ b/exercises/book-store/README.md @@ -3,20 +3,20 @@ To try and encourage more sales of different books from a popular 5 book series, a bookshop has decided to offer discounts on multiple book purchases. -One copy of any of the five books costs $8. +One copy of any of the five books costs $8. If, however, you buy two different books, you get a 5% discount on those two books. -If you buy 3 different books, you get a 10% discount. +If you buy 3 different books, you get a 10% discount. If you buy 4 different books, you get a 20% discount. -If you buy all 5, you get a 25% discount. +If you buy all 5, you get a 25% discount. Note: that if you buy four books, of which 3 are different titles, you get a 10% discount on the 3 that -form part of a set, but the fourth book still costs $8. +form part of a set, but the fourth book still costs $8. Your mission is to write a piece of code to calculate the price of any conceivable shopping basket (containing only @@ -30,7 +30,7 @@ For example, how much does this basket of books cost? - 2 copies of the third book - 1 copy of the fourth book - 1 copy of the fifth book - + One way of grouping these 8 books is: - 1 group of 5 --> 25% discount (1st,2nd,3rd,4th,5th) diff --git a/exercises/bowling/README.md b/exercises/bowling/README.md index 2649c7fa85..7e64c71925 100644 --- a/exercises/bowling/README.md +++ b/exercises/bowling/README.md @@ -2,19 +2,29 @@ Score a bowling game. -Bowling is game where players roll a heavy ball to knock down pins +Bowling is a game where players roll a heavy ball to knock down pins arranged in a triangle. Write code to keep track of the score of a game of bowling. ## Scoring Bowling -The game consists of 10 frames. A frame is composed of one or two ball throws with 10 pins standing at frame initialization. There are three cases for the tabulation of a frame. +The game consists of 10 frames. A frame is composed of one or two ball +throws with 10 pins standing at frame initialization. There are three +cases for the tabulation of a frame. -* An open frame is where a score of less than 10 is recorded for the frame. In this case the score for the frame is the number of pins knocked down. +* An open frame is where a score of less than 10 is recorded for the + frame. In this case the score for the frame is the number of pins + knocked down. -* A spare is where all ten pins are knocked down after the second throw. The total value of a spare is 10 plus the number of pins knocked down in their next throw. +* A spare is where all ten pins are knocked down by the second + throw. The total value of a spare is 10 plus the number of pins + knocked down in their next throw. -* A strike is where all ten pins are knocked down after the first throw. The total value of a strike is 10 plus the number of pins knocked down in their next two throws. If a strike is immediately followed by a second strike, then we can not total the value of first strike until they throw the ball one more time. +* A strike is where all ten pins are knocked down by the first + throw. The total value of a strike is 10 plus the number of pins + knocked down in the next two throws. If a strike is immediately + followed by a second strike, then the value of the first strike + cannot be determined until the ball is thrown one more time. Here is a three frame example: @@ -30,7 +40,11 @@ Frame 3 is (9 + 0) = 9 This means the current running total is 48. -The tenth frame in the game is a special case. If someone throws a strike or a spare then they get a fill ball. Fill balls exist to calculate the total of the 10th frame. Scoring a strike or spare on the fill ball does not give the player more fill balls. The total value of the 10th frame is the total number of pins knocked down. +The tenth frame in the game is a special case. If someone throws a +strike or a spare then they get a fill ball. Fill balls exist to +calculate the total of the 10th frame. Scoring a strike or spare on +the fill ball does not give the player more fill balls. The total +value of the 10th frame is the total number of pins knocked down. For a tenth frame of X1/ (strike and a spare), the total value is 20. diff --git a/exercises/change/README.md b/exercises/change/README.md index 5e86d8bee6..c8df8e6c52 100644 --- a/exercises/change/README.md +++ b/exercises/change/README.md @@ -23,7 +23,7 @@ Note that, when trying to submit an exercise, make sure the exercise file that y For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. ## Source -Software Craftsmanship - Kata-logue [http://craftsmanship.sv.cmu.edu/exercises/coin-change-kata](https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata) +Software Craftsmanship - Coin Change Kata [https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata](https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata) ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/circular-buffer/README.md b/exercises/circular-buffer/README.md index 2f639d2deb..aba13d1a9d 100644 --- a/exercises/circular-buffer/README.md +++ b/exercises/circular-buffer/README.md @@ -31,18 +31,25 @@ If the buffer has 7 elements then it is completely full: When the buffer is full an error will be raised, alerting the client that further writes are blocked until a slot becomes free. -The client can opt to overwrite the oldest data with a forced write. In -this case, two more elements — A & B — are added and they overwrite the -3 & 4: +When the buffer is full, the client can opt to overwrite the oldest +data with a forced write. In this case, two more elements — A & B — +are added and they overwrite the 3 & 4: [6][7][8][9][A][B][5] -Finally, if two elements are now removed then what would be returned is -not 3 & 4 but 5 & 6 because A & B overwrote the 3 & the 4 yielding the -buffer with: +3 & 4 have been replaced by A & B making 5 now the oldest data in the +buffer. Finally, if two elements are removed then what would be +returned is 5 & 6 yielding the buffer: [ ][7][8][9][A][B][ ] +Because there is space available, if the client again uses overwrite +to store C & D then the space where 5 & 6 were stored previously will +be used not the location of 7 & 8. 7 is still the oldest element and +the buffer is once again full. + + [D][7][8][9][A][B][C] + ### Submitting Exercises Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. diff --git a/exercises/collatz-conjecture/README.md b/exercises/collatz-conjecture/README.md index a312510acc..7ca16fd620 100644 --- a/exercises/collatz-conjecture/README.md +++ b/exercises/collatz-conjecture/README.md @@ -10,6 +10,7 @@ always reach 1 eventually. Given a number n, return the number of steps required to reach 1. ## Examples + Starting with n = 12, the steps would be as follows: 0. 12 @@ -30,9 +31,9 @@ Resulting in 9 steps. So for input n = 12, the return value would be 9. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. - ## Source + An unsolved problem in mathematics named after mathematician Lothar Collatz [https://en.wikipedia.org/wiki/3x_%2B_1_problem](https://en.wikipedia.org/wiki/3x_%2B_1_problem) ## Submitting Incomplete Solutions -It's possible to submit an incomplete solution so you can see how others have completed the exercise. \ No newline at end of file +It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/connect/README.md b/exercises/connect/README.md index 2e9cbe78da..ddc3f98f37 100644 --- a/exercises/connect/README.md +++ b/exercises/connect/README.md @@ -18,7 +18,7 @@ computes the winner (or lack thereof). Note that all games need not be "fair". The boards look like this (with spaces added for readability, which won't be in the representation passed to your code): -``` +```text . O . X . . X X O . O O O X . diff --git a/exercises/crypto-square/README.md b/exercises/crypto-square/README.md index efa38dac89..e33455d013 100644 --- a/exercises/crypto-square/README.md +++ b/exercises/crypto-square/README.md @@ -26,7 +26,7 @@ and `r` is the number of rows. Our normalized text is 54 characters long, dictating a rectangle with `c = 8` and `r = 7`: -```plain +```text ifmanwas meanttos tayonthe @@ -41,22 +41,24 @@ right. The message above is coded as: -```plain +```text imtgdvsfearwermayoogoanouuiontnnlvtwttddesaohghnsseoau ``` -Output the encoded text in chunks. Phrases that fill perfect squares -`(r X r)` should be output in `r`-length chunks separated by spaces. -Imperfect squares will have `n` empty spaces. Those spaces should be distributed evenly across the last `n` rows. +Output the encoded text in chunks. Phrases that fill perfect rectangles +`(r X c)` should be output `c` chunks of `r` length, separated by spaces. +Phrases that do not fill perfect rectangles will have `n` empty spaces. +Those spaces should be distributed evenly, added to the end of the last +`n` chunks. -```plain -imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau +```text +imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau ``` Notice that were we to stack these, we could visually decode the cyphertext back in to the original message: -```plain +```text imtgdvs fearwer mayoogo diff --git a/exercises/diamond/README.md b/exercises/diamond/README.md index 951a31b35d..8629791d6c 100644 --- a/exercises/diamond/README.md +++ b/exercises/diamond/README.md @@ -1,7 +1,7 @@ # Diamond -The diamond kata takes as its input a letter, and outputs it in a diamond -shape. Given a letter, it prints a diamond starting with 'A', with the +The diamond kata takes as its input a letter, and outputs it in a diamond +shape. Given a letter, it prints a diamond starting with 'A', with the supplied letter at the widest point. ## Requirements @@ -15,7 +15,7 @@ supplied letter at the widest point. * The diamond has a square shape (width equals height). * The letters form a diamond shape. * The top half has the letters in ascending order. -* The bottom half has the letters in descending order. +* The bottom half has the letters in descending order. * The four corners (containing the spaces) are triangles. ## Examples @@ -24,13 +24,13 @@ In the following examples, spaces are indicated by `·` characters. Diamond for letter 'A': -```plain +```text A ``` Diamond for letter 'C': -```plain +```text ··A·· ·B·B· C···C @@ -40,7 +40,7 @@ C···C Diamond for letter 'E': -```plain +```text ····A···· ···B·B··· ··C···C·· @@ -60,7 +60,9 @@ The tests in this exercise are different from your usual tests. Normally, a test For this exercise, the tests all verify a property of the diamond shape your code should be producing. Furthermore, all tests check if the property they test holds for all valid input letters ('A' to 'Z'). -For more information on property-based testing, see [this article](http://www.erikschierboom.com/2016/02/22/property-based-testing/). +In order to facilitate propery-based testing, the tests in this exercise leverage the [FsCheck](https://www.nuget.org/packages/FsCheck) and [FsCheck.Xunit](https://packages.nuget.org/packages/FsCheck.Xunit/2.2.0) packages. To learn more about FsCheck, the documentation on the framework can be found [here](https://fscheck.github.io/FsCheck/). + +If you would like more information on property-based testing, see [this article](http://www.erikschierboom.com/2016/02/22/property-based-testing/). ### Submitting Exercises diff --git a/exercises/dominoes/README.md b/exercises/dominoes/README.md index 2496b59f10..acb9194728 100644 --- a/exercises/dominoes/README.md +++ b/exercises/dominoes/README.md @@ -1,15 +1,24 @@ # Dominoes -Compute whether there exists a way to order a given set of dominoes in such a way that they form a +Make a chain of dominoes. + +Compute a way to order a given set of dominoes in such a way that they form a correct domino chain (the dots on one half of a stone match the dots on the neighbouring half of an adjacent stone) and that dots on the halfs of the stones which don't have a neighbour (the first and last stone) match each other. -For example given the stones `21`, `23` and `13` you should declare that there exists a possible chain (for example, `12`, `23` and `31` is a possible chain). +For example given the stones `[2|1]`, `[2|3]` and `[1|3]` you should compute something +like `[1|2] [2|3] [3|1]` or `[3|2] [2|1] [1|3]` or `[1|3] [3|2] [2|1]` etc, where the first and last numbers are the same. -For stones 12, 41 and 23 the resulting chain is not valid: 41 12 23's first and last numbers are not the same. 4 != 3 +For stones `[1|2]`, `[4|1]` and `[2|3]` the resulting chain is not valid: `[4|1] [1|2] [2|3]`'s first and last numbers are not the same. 4 != 3 Some test cases may use duplicate stones in a chain solution, assume that multiple Domino sets are being used. +### Submitting Exercises + +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. + +For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/dot-dsl/README.md b/exercises/dot-dsl/README.md index 853eadcf3f..cb2b598b4c 100644 --- a/exercises/dot-dsl/README.md +++ b/exercises/dot-dsl/README.md @@ -1,4 +1,4 @@ -# Dot Dsl +# DOT DSL Write a Domain Specific Language similar to the Graphviz dot language. diff --git a/exercises/etl/README.md b/exercises/etl/README.md index f7d57a83d9..4235283fd5 100644 --- a/exercises/etl/README.md +++ b/exercises/etl/README.md @@ -1,8 +1,9 @@ -# Etl +# ETL We are going to do the `Transform` step of an Extract-Transform-Load. ### ETL + Extract-Transform-Load (ETL) is a fancy way of saying, "We have some crufty, legacy data over in this system, and now we need it in this shiny new system over here, so we're going to migrate this." @@ -11,6 +12,7 @@ once." That's then typically followed by much forehead slapping and moaning about how stupid we could possibly be.) ### The goal + We're going to extract some scrabble scores from a legacy system. The old system stored a list of letters per score: diff --git a/exercises/flatten-array/README.md b/exercises/flatten-array/README.md index 9fc36fcc70..0dd7d834b6 100644 --- a/exercises/flatten-array/README.md +++ b/exercises/flatten-array/README.md @@ -3,14 +3,13 @@ Take a nested list and return a single flattened list with all values except nil/null. The challenge is to write a function that accepts an arbitrarily-deep nested list-like structure and returns a flattened structure without any nil/null values. - + For Example input: [1,[2,3,null,4],[null],5] output: [1,2,3,4,5] - ### Submitting Exercises Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. diff --git a/exercises/food-chain/README.md b/exercises/food-chain/README.md index 8a5c668d30..06ec3ad4a2 100644 --- a/exercises/food-chain/README.md +++ b/exercises/food-chain/README.md @@ -10,7 +10,7 @@ This is a [cumulative song](http://en.wikipedia.org/wiki/Cumulative_song) of unk This is one of many common variants. -```plain +```text I know an old lady who swallowed a fly. I don't know why she swallowed the fly. Perhaps she'll die. diff --git a/exercises/go-counting/README.md b/exercises/go-counting/README.md index 55455f80ea..4d1661ded0 100644 --- a/exercises/go-counting/README.md +++ b/exercises/go-counting/README.md @@ -16,7 +16,7 @@ only horizontal and vertical neighbours count. In the following diagram the stones which matter are marked "O" and the stones that don't are marked "I" (ignored). Empty spaces represent empty intersections. -``` +```text +----+ |IOOI| |O O| diff --git a/exercises/grade-school/README.md b/exercises/grade-school/README.md index ed00815937..820254ef0b 100644 --- a/exercises/grade-school/README.md +++ b/exercises/grade-school/README.md @@ -21,7 +21,6 @@ In the end, you should be able to: Note that all our students only have one name. (It's a small town, what do you want?) - ## For bonus points Did you get the tests passing and the code clean? If you want to, these diff --git a/exercises/grains/README.md b/exercises/grains/README.md index 82eac0d6c3..f7fcb4541b 100644 --- a/exercises/grains/README.md +++ b/exercises/grains/README.md @@ -15,7 +15,6 @@ Write code that shows: - how many grains were on each square, and - the total number of grains - ## For bonus points Did you get the tests passing and the code clean? If you want to, these diff --git a/exercises/grep/README.md b/exercises/grep/README.md index be8532e60d..94f868f422 100644 --- a/exercises/grep/README.md +++ b/exercises/grep/README.md @@ -3,14 +3,14 @@ Search a file for lines matching a regular expression pattern. Return the line number and contents of each matching line. -The Unix [`grep`](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html) command can be used to search for lines in one or more files +The Unix [`grep`](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html) command can be used to search for lines in one or more files that match a user-provided search query (known as the *pattern*). The `grep` command takes three arguments: -1. The pattern used to match lines in a file. +1. The pattern used to match lines in a file. 2. Zero or more flags to customize the matching behavior. -3. One or more files in which to search for matching lines. +3. One or more files in which to search for matching lines. Your task is to implement the `grep` function, which should read the contents of the specified files, find the lines that match the specified pattern @@ -20,18 +20,18 @@ in the first file being output first. As an example, suppose there is a file named "input.txt" with the following contents: -
+```text
 hello
 world
 hello again
-
+``` If we were to call `grep "hello" input.txt`, the returned string should be: -
+```text
 hello
 hello again
-
+``` ### Flags @@ -46,18 +46,18 @@ As said earlier, the `grep` command should also support the following flags: If we run `grep -n "hello" input.txt`, the `-n` flag will require the matching lines to be prefixed with its line number: -
+```text
 1:hello
 3:hello again
-
+``` -And if we run `grep -i "HELLO" input.txt`, we'll do a case-insensitive match, +And if we run `grep -i "HELLO" input.txt`, we'll do a case-insensitive match, and the output will be: -
+```text
 hello
 hello again
-
+``` The `grep` command should support multiple flags at once. diff --git a/exercises/house/README.md b/exercises/house/README.md index 1eb05480ed..102ecd08b3 100644 --- a/exercises/house/README.md +++ b/exercises/house/README.md @@ -1,6 +1,6 @@ # House -Output the nursery rhyme 'This is the House that Jack Built'. +Recite the nursery rhyme 'This is the House that Jack Built'. > [The] process of placing a phrase of clause within another phrase of > clause is called embedding. It is through the processes of recursion @@ -11,10 +11,9 @@ Output the nursery rhyme 'This is the House that Jack Built'. - [papyr.com](http://papyr.com/hypertextbooks/grammar/ph_noun.htm) - The nursery rhyme reads as follows: -```plain +```text This is the house that Jack built. This is the malt diff --git a/exercises/isbn-verifier/README.md b/exercises/isbn-verifier/README.md index de7c5bbf7f..5444482d26 100644 --- a/exercises/isbn-verifier/README.md +++ b/exercises/isbn-verifier/README.md @@ -1,40 +1,53 @@ -# ISBN Verifier +# ISBN Verifier -Check if a given ISBN-10 is valid. +The [ISBN-10 verification process](https://en.wikipedia.org/wiki/International_Standard_Book_Number) is used to validate book identification +numbers. These normally contain dashes and look like: `3-598-21508-8` -## Functionality +## ISBN + +The ISBN-10 format is 9 digits (0 to 9) plus one check character (either a digit or an X only). In the case the check character is an X, this represents the value '10'. These may be communicated with or without hyphens, and can be checked for their validity by the following formula: + +``` +(x1 * 10 + x2 * 9 + x3 * 8 + x4 * 7 + x5 * 6 + x6 * 5 + x7 * 4 + x8 * 3 + x9 * 2 + x10 * 1) mod 11 == 0 +``` + +If the result is 0, then it is a valid ISBN-10, otherwise it is invalid. + +## Example + +Let's take the ISBN-10 `3-598-21508-8`. We plug it in to the formula, and get: +``` +(3 * 10 + 5 * 9 + 9 * 8 + 8 * 7 + 2 * 6 + 1 * 5 + 5 * 4 + 0 * 3 + 8 * 2 + 8 * 1) mod 11 == 0 +``` -Given an unknown string the program should check if the provided string is a valid ISBN-10. +Since the result is 0, this proves that our ISBN is valid. + +## Task + +Given a string the program should check if the provided string is a valid ISBN-10. Putting this into place requires some thinking about preprocessing/parsing of the string prior to calculating the check digit for the ISBN. -The program should allow for ISBN-10 without the separating dashes to be verified as well. +The program should be able to verify ISBN-10 both with and without separating dashes. -## ISBN -Let's take a random ISBN-10 number, say `3-598-21508-8` for this. -The first digit block indicates the group where the ISBN belongs. Groups can consist of shared languages, geographic regions or countries. The leading '3' signals this ISBN is from a german speaking country. -The following number block is to identify the publisher. Since this is a three digit publisher number there is a 5 digit title number for this book. -The last digit in the ISBN is the check digit which is used to detect read errors. +## Caveats -The first 9 digits in the ISBN have to be between 0 and 9. -The check digit can additionally be an 'X' to allow 10 to be a valid check digit as well. +Converting from strings to numbers can be tricky in certain languages. +Now, it's even trickier since the check digit of an ISBN-10 may be 'X' (representing '10'). For instance `3-598-21507-X` is a valid ISBN-10. -A valid ISBN-10 is calculated with this formula `(x1 * 10 + x2 * 9 + x3 * 8 + x4 * 7 + x5 * 6 + x6 * 5 + x7 * 4 + x8 * 3 + x9 * 2 + x10 * 1) mod 11 == 0` -So for our example ISBN this means: -(3 * 10 + 5 * 9 + 9 * 8 + 8 * 7 + 2 * 6 + 1 * 5 + 5 * 4 + 0 * 3 + 8 * 2 + 8 * 1) mod 11 = 0 +## Bonus tasks -Which proves that the ISBN is valid. +* Generate a valid ISBN-13 from the input ISBN-10 (and maybe verify it again with a derived verifier). +* Generate valid ISBN, maybe even from a given starting ISBN. ### Submitting Exercises Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. - ## Source -Wikipedia [https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation](https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation) +Converting a string into a number and some basic processing utilizing a relatable real world example. [https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation](https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation) ## Submitting Incomplete Solutions - -It's possible to submit an incomplete solution so you can see how others have completed the exercise. \ No newline at end of file +It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/isogram/README.md b/exercises/isogram/README.md index 49c34eae8e..5420586bae 100644 --- a/exercises/isogram/README.md +++ b/exercises/isogram/README.md @@ -2,13 +2,14 @@ Determine if a word or phrase is an isogram. -An isogram (also known as a "nonpattern word") is a word or phrase without a repeating letter. +An isogram (also known as a "nonpattern word") is a word or phrase without a repeating letter, however spaces and hyphens are allowed to appear multiple times. Examples of isograms: - lumberjacks - background - downstream +- six-year-old The word *isograms*, however, is not an isogram, because the s repeats. diff --git a/exercises/kindergarten-garden/README.md b/exercises/kindergarten-garden/README.md index 98b0452c46..6af26bd902 100644 --- a/exercises/kindergarten-garden/README.md +++ b/exercises/kindergarten-garden/README.md @@ -3,19 +3,19 @@ Given a diagram, determine which plants each child in the kindergarten class is responsible for. -The kindergarten class is learning about growing plants. The teachers +The kindergarten class is learning about growing plants. The teacher thought it would be a good idea to give them actual seeds, plant them in actual dirt, and grow actual plants. They've chosen to grow grass, clover, radishes, and violets. -To this end, they've put little styrofoam cups along the window sills, -and planted one type of plant in each cup, choosing randomly from the -available types of seeds. +To this end, the children have put little cups along the window sills, and +planted one type of plant in each cup, choosing randomly from the available +types of seeds. -```plain +```text [window][window][window] -........................ # each dot represents a styrofoam cup +........................ # each dot represents a cup ........................ ``` @@ -25,27 +25,27 @@ There are 12 children in the class: - Eve, Fred, Ginny, Harriet, - Ileana, Joseph, Kincaid, and Larry. -Each child gets 4 cups, two on each row. The children are assigned to -cups in alphabetical order. +Each child gets 4 cups, two on each row. Their teacher assigns cups to +the children alphabetically by their names. The following diagram represents Alice's plants: -```plain +```text [window][window][window] VR...................... RG...................... ``` -So in the row nearest the window, she has a violet and a radish; in the -row behind that, she has a radish and some grass. +In the first row, nearest the windows, she has a violet and a radish. In the +second row she has a radish and some grass. Your program will be given the plants from left-to-right starting with the row nearest the windows. From this, it should be able to determine -which plants belong to which students. +which plants belong to each student. For example, if it's told that the garden looks like so: -```plain +```text [window][window][window] VRCGVVRVCGGCCGVRGCVCGCGV VRCCCGCRRGVCGCRVVCVGCGCV diff --git a/exercises/leap/README.md b/exercises/leap/README.md index 772dabbf10..a154e7c69e 100644 --- a/exercises/leap/README.md +++ b/exercises/leap/README.md @@ -4,7 +4,7 @@ Given a year, report if it is a leap year. The tricky thing here is that a leap year in the Gregorian calendar occurs: -```plain +```text on every year that is evenly divisible by 4 except every year that is evenly divisible by 100 unless the year is also evenly divisible by 400 diff --git a/exercises/linked-list/README.md b/exercises/linked-list/README.md index f0bad7aa8d..83ad95c8db 100644 --- a/exercises/linked-list/README.md +++ b/exercises/linked-list/README.md @@ -2,18 +2,18 @@ Implement a doubly linked list. -Like an array, a linked list is a simple linear data structure. Several -common data types can be implemented using linked lists, like queues, +Like an array, a linked list is a simple linear data structure. Several +common data types can be implemented using linked lists, like queues, stacks, and associative arrays. -A linked list is a collection of data elements called *nodes*. In a -*singly linked list* each node holds a value and a link to the next node. -In a *doubly linked list* each node also holds a link to the previous +A linked list is a collection of data elements called *nodes*. In a +*singly linked list* each node holds a value and a link to the next node. +In a *doubly linked list* each node also holds a link to the previous node. -You will write an implementation of a doubly linked list. Implement a -Node to hold a value and pointers to the next and previous nodes. Then -implement a List which holds references to the first and last node and +You will write an implementation of a doubly linked list. Implement a +Node to hold a value and pointers to the next and previous nodes. Then +implement a List which holds references to the first and last node and offers an array-like interface for adding and removing items: * `push` (*insert value at back*); @@ -21,8 +21,8 @@ offers an array-like interface for adding and removing items: * `shift` (*remove value at front*). * `unshift` (*insert value at front*); -To keep your implementation simple, the tests will not cover error -conditions. Specifically: `pop` or `shift` will never be called on an +To keep your implementation simple, the tests will not cover error +conditions. Specifically: `pop` or `shift` will never be called on an empty list. If you want to know more about linked lists, check [Wikipedia](https://en.wikipedia.org/wiki/Linked_list). diff --git a/exercises/luhn/README.md b/exercises/luhn/README.md index f07488e4a4..c7e7d4e462 100644 --- a/exercises/luhn/README.md +++ b/exercises/luhn/README.md @@ -18,27 +18,27 @@ are disallowed. ## Example 1: valid credit card number -``` +```text 4539 1488 0343 6467 ``` The first step of the Luhn algorithm is to double every second digit, starting from the right. We will be doubling -``` +```text 4_3_ 1_8_ 0_4_ 6_6_ ``` If doubling the number results in a number greater than 9 then subtract 9 from the product. The results of our doubling: -``` +```text 8569 2478 0383 3437 ``` Then sum all of the digits: -``` +```text 8+5+6+9+2+4+7+8+0+3+8+3+3+4+3+7 = 80 ``` @@ -46,19 +46,19 @@ If the sum is evenly divisible by 10, then the number is valid. This number is v ## Example 2: invalid credit card number -``` +```text 8273 1232 7352 0569 ``` Double the second digits, starting from the right -``` +```text 7253 2262 5312 0539 ``` Sum the digits -``` +```text 7+2+5+3+2+2+6+2+5+3+1+2+0+5+3+9 = 57 ``` diff --git a/exercises/matrix/README.md b/exercises/matrix/README.md index e54c87401d..e75a36b947 100644 --- a/exercises/matrix/README.md +++ b/exercises/matrix/README.md @@ -5,13 +5,15 @@ that matrix. So given a string with embedded newlines like: -> 9 8 7 -> 5 3 2 -> 6 6 7 +```text +9 8 7 +5 3 2 +6 6 7 +``` representing this matrix: -```plain +```text 0 1 2 |--------- 0 | 9 8 7 diff --git a/exercises/meetup/README.md b/exercises/meetup/README.md index e259fc2a33..471c99d15e 100644 --- a/exercises/meetup/README.md +++ b/exercises/meetup/README.md @@ -2,26 +2,29 @@ Calculate the date of meetups. -Typically meetups happen on the same day of the week. In this exercise, you will take -a description of a meetup date, and return the actual meetup date. +Typically meetups happen on the same day of the week. In this exercise, you +will take a description of a meetup date, and return the actual meetup date. Examples of general descriptions are: -- the first Monday of January 2017 -- the third Tuesday of January 2017 -- the Wednesteenth of January 2017 -- the last Thursday of January 2017 +- The first Monday of January 2017 +- The third Tuesday of January 2017 +- The wednesteenth of January 2017 +- The last Thursday of January 2017 -Note that "Monteenth", "Tuesteenth", etc are all made up words. There -was a meetup whose members realized that there are exactly 7 numbered days in a month that -end in '-teenth'. Therefore, one is guaranteed that each day of the week +The descriptors you are expected to parse are: +first, second, third, fourth, fifth, last, monteenth, tuesteenth, wednesteenth, +thursteenth, friteenth, saturteenth, sunteenth + +Note that "monteenth", "tuesteenth", etc are all made up words. There was a +meetup whose members realized that there are exactly 7 numbered days in a month +that end in '-teenth'. Therefore, one is guaranteed that each day of the week (Monday, Tuesday, ...) will have exactly one date that is named with '-teenth' in every month. -Given examples of a meetup dates, each containing a month, day, year, and descriptor -(first, second, teenth, etc), calculate the date of the actual meetup. -For example, if given "First Monday of January 2017", the correct meetup date is 2017/1/2 - +Given examples of a meetup dates, each containing a month, day, year, and +descriptor calculate the date of the actual meetup. For example, if given +"The first Monday of January 2017", the correct meetup date is 2017/1/2. ### Submitting Exercises diff --git a/exercises/nucleotide-count/README.md b/exercises/nucleotide-count/README.md index 4a5ca0f1e2..3ca84e51ab 100644 --- a/exercises/nucleotide-count/README.md +++ b/exercises/nucleotide-count/README.md @@ -1,30 +1,16 @@ # Nucleotide Count -Given a DNA string, compute how many times each nucleotide occurs in the string. +Given a single stranded DNA string, compute how many times each nucleotide occurs in the string. -DNA is represented by an alphabet of the following symbols: 'A', 'C', -'G', and 'T'. - -Each symbol represents a nucleotide, which is a fancy name for the -particular molecules that happen to make up a large part of DNA. - -Shortest intro to biochemistry EVAR: +The genetic language of every living thing on the planet is DNA. +DNA is a large molecule that is built from an extremely long sequence of individual elements called nucleotides. +4 types exist in DNA and these differ only slightly and can be represented as the following symbols: 'A' for adenine, 'C' for cytosine, 'G' for guanine, and 'T' thymine. +Here is an analogy: - twigs are to birds nests as -- nucleotides are to DNA and RNA as -- amino acids are to proteins as -- sugar is to starch as -- oh crap lipids - -I'm not going to talk about lipids because they're crazy complex. - -So back to nucleotides. - -DNA contains four types of them: adenine (`A`), cytosine (`C`), guanine -(`G`), and thymine (`T`). - -RNA contains a slightly different set of nucleotides, but we don't care -about that for now. +- nucleotides are to DNA as +- legos are to lego houses as +- words are to sentences as... ## Hints This exercise requires the use of a Dictionary. For more information see diff --git a/exercises/ocr-numbers/README.md b/exercises/ocr-numbers/README.md index d388c928d9..1fb04e2902 100644 --- a/exercises/ocr-numbers/README.md +++ b/exercises/ocr-numbers/README.md @@ -1,4 +1,4 @@ -# Ocr Numbers +# OCR Numbers Given a 3 x 4 grid of pipes, underscores, and spaces, determine which number is represented, or whether it is garbled. @@ -9,7 +9,7 @@ To begin with, convert a simple binary font to a string containing 0 or 1. The binary font uses pipes and underscores, four rows high and three columns wide. -``` +```text _ # | | # zero. |_| # @@ -18,7 +18,7 @@ The binary font uses pipes and underscores, four rows high and three columns wid Is converted to "0" -``` +```text # | # one. | # @@ -39,7 +39,7 @@ Update your program to recognize multi-character binary strings, replacing garbl Update your program to recognize all numbers 0 through 9, both individually and as part of a larger string. -``` +```text _ _| |_ @@ -48,7 +48,7 @@ Update your program to recognize all numbers 0 through 9, both individually and Is converted to "2" -``` +```text _ _ _ _ _ _ _ _ # | _| _||_||_ |_ ||_||_|| | # decimal numbers. ||_ _| | _||_| ||_| _||_| # @@ -61,7 +61,7 @@ Is converted to "1234567890" Update your program to handle multiple numbers, one per line. When converting several lines, join the lines with commas. -``` +```text _ _ | _| _| ||_ _| diff --git a/exercises/octal/README.md b/exercises/octal/README.md index 6c7ce83b43..a97cf40231 100644 --- a/exercises/octal/README.md +++ b/exercises/octal/README.md @@ -8,11 +8,13 @@ Implement octal to decimal conversion. Given an octal input string, your program should produce a decimal output. ## Note + - Implement the conversion yourself. Do not use something else to perform the conversion for you. - Treat invalid input as octal 0. ## About Octal (Base-8) + Decimal is a base-10 system. A number 233 in base 10 notation can be understood @@ -25,7 +27,8 @@ as a linear combination of powers of 10: - All these values are summed. So: -``` + +```text 233 # decimal = 2*10^2 + 3*10^1 + 3*10^0 = 2*100 + 3*10 + 3*1 @@ -34,7 +37,8 @@ So: Octal is similar, but uses powers of 8 rather than powers of 10. So: -``` + +```text 233 # octal = 2*8^2 + 3*8^1 + 3*8^0 = 2*64 + 3*8 + 3*1 diff --git a/exercises/palindrome-products/README.md b/exercises/palindrome-products/README.md index 6bd82b3fc3..ce8ae2cb44 100644 --- a/exercises/palindrome-products/README.md +++ b/exercises/palindrome-products/README.md @@ -5,33 +5,32 @@ Detect palindrome products in a given range. A palindromic number is a number that remains the same when its digits are reversed. For example, `121` is a palindromic number but `112` is not. -Given the definition of a palindromic number, we define a palindrome _product_ -to be the product `c`, such that `a * b = c`, where `c` is a palindromic number and - `a` and `b` are integers (possibly, but _not_ necessarily palindromic numbers). +Given a range of numbers, find the largest and smallest palindromes which +are products of numbers within that range. -For example, the palindromic number 9009 can be written as the palindrome -product: `91 * 99 = 9009`. - -It's possible (and indeed common) for a palindrome product to be the product -of multiple combinations of numbers. For example, the palindrome product `9` has -the factors `(1, 9)`, `(3, 3)`, and `(9, 1)`. - -Write a program that given a range of integers, returns the smallest and largest -palindromic product within that range, along with all of it's factors. +Your solution should return the largest and smallest palindromes, along with the +factors of each within the range. If the largest or smallest palindrome has more +than one pair of factors within the range, then return all the pairs. ## Example 1 Given the range `[1, 9]` (both inclusive)... -The smallest product is `1`. It's factors are `(1, 1)`. -The largest product is `9`. It's factors are `(1, 9)`, `(3, 3)`, and `(9, 1)`. +And given the list of all possible products within this range: +`[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16, 18, 15, 21, 24, 27, 20, 28, 32, 36, 25, 30, 35, 40, 45, 42, 48, 54, 49, 56, 63, 64, 72, 81]` + +The palindrome products are all single digit numbers (in this case): +`[1, 2, 3, 4, 5, 6, 7, 8, 9]` + +The smallest palindrome product is `1`. Its factors are `(1, 1)`. +The largest palindrome product is `9`. Its factors are `(1, 9)` and `(3, 3)`. ## Example 2 Given the range `[10, 99]` (both inclusive)... -The smallest palindrome product is `121`. It's factors are `(11, 11)`. -The largest palindrome product is `9009`. It's factors are `(91, 99)` and `(99, 91)`. +The smallest palindrome product is `121`. Its factors are `(11, 11)`. +The largest palindrome product is `9009`. Its factors are `(91, 99)`. ## Hints diff --git a/exercises/pangram/README.md b/exercises/pangram/README.md index dab63ee532..99538f6021 100644 --- a/exercises/pangram/README.md +++ b/exercises/pangram/README.md @@ -2,7 +2,7 @@ Determine if a sentence is a pangram. A pangram (Greek: παν γράμμα, pan gramma, "every letter") is a sentence using every letter of the alphabet at least once. -The best known English pangram is: +The best known English pangram is: > The quick brown fox jumps over the lazy dog. The alphabet used consists of ASCII letters `a` to `z`, inclusive, and is case diff --git a/exercises/pascals-triangle/README.md b/exercises/pascals-triangle/README.md index 9ff08f7e24..71937bac00 100644 --- a/exercises/pascals-triangle/README.md +++ b/exercises/pascals-triangle/README.md @@ -1,11 +1,11 @@ -# Pascals Triangle +# Pascal's Triangle Compute Pascal's triangle up to a given number of rows. In Pascal's Triangle each number is computed by adding the numbers to the right and left of the current position in the previous row. -```plain +```text 1 1 1 1 2 1 diff --git a/exercises/perfect-numbers/README.md b/exercises/perfect-numbers/README.md index 9114a07079..96845891e1 100644 --- a/exercises/perfect-numbers/README.md +++ b/exercises/perfect-numbers/README.md @@ -5,7 +5,7 @@ Nicomachus' (60 - 120 CE) classification scheme for natural numbers. The Greek mathematician [Nicomachus](https://en.wikipedia.org/wiki/Nicomachus) devised a classification scheme for natural numbers, identifying each as belonging uniquely to the categories of **perfect**, **abundant**, or **deficient** based on their [aliquot sum](https://en.wikipedia.org/wiki/Aliquot_sum). The aliquot sum is defined as the sum of the factors of a number not including the number itself. For example, the aliquot sum of 15 is (1 + 3 + 5) = 9 -- **Perfect**: aliquot sum = number +- **Perfect**: aliquot sum = number - 6 is a perfect number because (1 + 2 + 3) = 6 - 28 is a perfect number because (1 + 2 + 4 + 7 + 14) = 28 - **Abundant**: aliquot sum > number @@ -14,7 +14,7 @@ The Greek mathematician [Nicomachus](https://en.wikipedia.org/wiki/Nicomachus) d - **Deficient**: aliquot sum < number - 8 is a deficient number because (1 + 2 + 4) = 7 - Prime numbers are deficient - + Implement a way to determine whether a given number is **perfect**. Depending on your language track, you may also need to implement a way to determine whether a given number is **abundant** or **deficient**. ### Submitting Exercises diff --git a/exercises/phone-number/README.md b/exercises/phone-number/README.md index 7b0d0734fa..a1a5f939ba 100644 --- a/exercises/phone-number/README.md +++ b/exercises/phone-number/README.md @@ -6,14 +6,15 @@ The **North American Numbering Plan (NANP)** is a telephone numbering system use NANP numbers are ten-digit numbers consisting of a three-digit Numbering Plan Area code, commonly known as *area code*, followed by a seven-digit local number. The first three digits of the local number represent the *exchange code*, followed by the unique four-digit number which is the *subscriber number*. - The format is usually represented as -``` + +```text (NXX)-NXX-XXXX ``` + where `N` is any digit from 2 through 9 and `X` is any digit from 0 through 9. -Your task is to clean up differently formated telephone numbers by removing punctuation and the country code (1) if present. +Your task is to clean up differently formatted telephone numbers by removing punctuation and the country code (1) if present. For example, the inputs - `+1 (613)-995-0253` diff --git a/exercises/pov/README.md b/exercises/pov/README.md index db5226bce4..174fa025aa 100644 --- a/exercises/pov/README.md +++ b/exercises/pov/README.md @@ -1,14 +1,12 @@ -# Pov +# POV Reparent a graph on a selected node. -# Tree Reparenting - This exercise is all about re-orientating a graph to see things from a different point of view. For example family trees are usually presented from the ancestor's perspective: -``` +```text +------0------+ | | | +-1-+ +-2-+ +-3-+ @@ -20,7 +18,7 @@ But the same information can be presented from the perspective of any other node in the graph, by pulling it up to the root and dragging its relationships along with it. So the same graph from 6's perspective would look like: -``` +```text 6 | +-----2-----+ diff --git a/exercises/protein-translation/README.md b/exercises/protein-translation/README.md index eb736fbf6c..89f11abb3b 100644 --- a/exercises/protein-translation/README.md +++ b/exercises/protein-translation/README.md @@ -10,21 +10,21 @@ Codons: `"AUG", "UUU", "UCU"` => which become a polypeptide with the following sequence => Protein: `"Methionine", "Phenylalanine", "Serine"` - + There are 64 codons which in turn correspond to 20 amino acids; however, all of the codon sequences and resulting amino acids are not important in this exercise. If it works for one codon, the program should work for all of them. -However, feel free to expand the list in the test suite to include them all. +However, feel free to expand the list in the test suite to include them all. -There are also four terminating codons (also known as 'STOP' codons); if any of these codons are encountered (by the ribosome), all translation ends and the protein is terminated. +There are also three terminating codons (also known as 'STOP' codons); if any of these codons are encountered (by the ribosome), all translation ends and the protein is terminated. All subsequent codons after are ignored, like this: RNA: `"AUGUUUUCUUAAAUG"` => -Codons: `"AUG", "UUU", "UCU", "UAG", "AUG"` => +Codons: `"AUG", "UUU", "UCU", "UAA", "AUG"` => Protein: `"Methionine", "Phenylalanine", "Serine"` -Note the stop codon terminates the translation and the final methionine is not translated into the protein sequence. +Note the stop codon `"UAA"` terminates the translation and the final methionine is not translated into the protein sequence. Below are the codons and resulting Amino Acids needed for the exercise. @@ -39,7 +39,6 @@ UGU, UGC | Cysteine UGG | Tryptophan UAA, UAG, UGA | STOP - Learn more about [protein translation on Wikipedia](http://en.wikipedia.org/wiki/Translation_(biology)) ### Submitting Exercises diff --git a/exercises/proverb/README.md b/exercises/proverb/README.md index 250bfcf3e1..e156e315f1 100644 --- a/exercises/proverb/README.md +++ b/exercises/proverb/README.md @@ -1,15 +1,20 @@ # Proverb -For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output -the full text of this proverbial rhyme: - -> For want of a nail the shoe was lost. -> For want of a shoe the horse was lost. -> For want of a horse the rider was lost. -> For want of a rider the message was lost. -> For want of a message the battle was lost. -> For want of a battle the kingdom was lost. -> And all for the want of a horseshoe nail. +For want of a horseshoe nail, a kingdom was lost, or so the saying goes. + +Given a list of inputs, generate the relevant proverb. For example, given the list `["nail", "shoe", "horse", "rider", "message", "battle", "kingdom"]`, you will output the full text of this proverbial rhyme: + +```text +For want of a nail the shoe was lost. +For want of a shoe the horse was lost. +For want of a horse the rider was lost. +For want of a rider the message was lost. +For want of a message the battle was lost. +For want of a battle the kingdom was lost. +And all for the want of a nail. +``` + +Note that the list of inputs may vary; your solution should be able to handle lists of arbitrary length and content. No line of the output text should be a static, unchanging string; all should vary according to the input given. ## HINTS diff --git a/exercises/pythagorean-triplet/README.md b/exercises/pythagorean-triplet/README.md index b19c1c56d8..c78fe25d9f 100644 --- a/exercises/pythagorean-triplet/README.md +++ b/exercises/pythagorean-triplet/README.md @@ -3,13 +3,13 @@ A Pythagorean triplet is a set of three natural numbers, {a, b, c}, for which, -``` +```text a**2 + b**2 = c**2 ``` -For example, +For example, -``` +```text 3**2 + 4**2 = 9 + 16 = 25 = 5**2. ``` diff --git a/exercises/queen-attack/README.md b/exercises/queen-attack/README.md index 037e28a126..22d7b620dd 100644 --- a/exercises/queen-attack/README.md +++ b/exercises/queen-attack/README.md @@ -11,7 +11,7 @@ A chessboard can be represented by an 8 by 8 array. So if you're told the white queen is at (2, 3) and the black queen at (5, 6), then you'd know you've got a set-up like so: -```plain +```text _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ W _ _ _ _ diff --git a/exercises/rail-fence-cipher/README.md b/exercises/rail-fence-cipher/README.md index 31e7f18f2f..66914b167c 100644 --- a/exercises/rail-fence-cipher/README.md +++ b/exercises/rail-fence-cipher/README.md @@ -11,41 +11,46 @@ Finally the message is then read off in rows. For example, using three "rails" and the message "WE ARE DISCOVERED FLEE AT ONCE", the cipherer writes out: -``` + +```text W . . . E . . . C . . . R . . . L . . . T . . . E . E . R . D . S . O . E . E . F . E . A . O . C . . . A . . . I . . . V . . . D . . . E . . . N . . ``` Then reads off: -``` + +```text WECRLTEERDSOEEFEAOCAIVDEN ``` - To decrypt a message you take the zig-zag shape and fill the ciphertext along the rows. -``` + +```text ? . . . ? . . . ? . . . ? . . . ? . . . ? . . . ? . ? . ? . ? . ? . ? . ? . ? . ? . ? . ? . ? . ? . . . ? . . . ? . . . ? . . . ? . . . ? . . . ? . . ``` The first row has seven spots that can be filled with "WECRLTE". -``` + +```text W . . . E . . . C . . . R . . . L . . . T . . . E . ? . ? . ? . ? . ? . ? . ? . ? . ? . ? . ? . ? . . . ? . . . ? . . . ? . . . ? . . . ? . . . ? . . ``` Now the 2nd row takes "ERDSOEEFEAOC". -``` + +```text W . . . E . . . C . . . R . . . L . . . T . . . E . E . R . D . S . O . E . E . F . E . A . O . C . . . ? . . . ? . . . ? . . . ? . . . ? . . . ? . . ``` Leaving "AIVDEN" for the last row. -``` + +```text W . . . E . . . C . . . R . . . L . . . T . . . E . E . R . D . S . O . E . E . F . E . A . O . C . . . A . . . I . . . V . . . D . . . E . . . N . . diff --git a/exercises/rectangles/README.md b/exercises/rectangles/README.md index 15f04a7438..b477611796 100644 --- a/exercises/rectangles/README.md +++ b/exercises/rectangles/README.md @@ -2,7 +2,7 @@ Count the rectangles in an ASCII diagram like the one below. -``` +```text +--+ ++ | +-++--+ @@ -12,7 +12,7 @@ Count the rectangles in an ASCII diagram like the one below. The above diagram contains 6 rectangles: -``` +```text +-----+ @@ -20,7 +20,7 @@ The above diagram contains 6 rectangles: +-----+ ``` -``` +```text +--+ | | | | @@ -28,7 +28,7 @@ The above diagram contains 6 rectangles: +--+ ``` -``` +```text +--+ | | +--+ @@ -36,28 +36,28 @@ The above diagram contains 6 rectangles: ``` -``` - - +```text + + +--+ | | +--+ ``` -``` - - +```text + + +--+ | | +--+ ``` -``` - - ++ - ++ - - +```text + + ++ + ++ + + ``` You may assume that the input is always a proper rectangle (i.e. the length of diff --git a/exercises/rna-transcription/README.md b/exercises/rna-transcription/README.md index f2ad375b94..5800f51cb2 100644 --- a/exercises/rna-transcription/README.md +++ b/exercises/rna-transcription/README.md @@ -1,4 +1,4 @@ -# Rna Transcription +# RNA Transcription Given a DNA strand, return its RNA complement (per RNA transcription). @@ -25,7 +25,7 @@ Note that, when trying to submit an exercise, make sure the exercise file that y For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. ## Source -Rosalind [http://rosalind.info/problems/rna](http://rosalind.info/problems/rna) +Hyperphysics [http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html](http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html) ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/roman-numerals/README.md b/exercises/roman-numerals/README.md index e14fd5af7a..f9a831b1ef 100644 --- a/exercises/roman-numerals/README.md +++ b/exercises/roman-numerals/README.md @@ -14,7 +14,7 @@ The Romans wrote numbers using letters - I, V, X, L, C, D, M. (notice these letters have lots of straight lines and are hence easy to hack into stone tablets). -``` +```text 1 => I 10 => X 7 => VII diff --git a/exercises/rotational-cipher/README.md b/exercises/rotational-cipher/README.md index 79de328637..2d511d2b58 100644 --- a/exercises/rotational-cipher/README.md +++ b/exercises/rotational-cipher/README.md @@ -13,7 +13,7 @@ The most commonly used rotational cipher is `ROT13`. A `ROT13` on the Latin alphabet would be as follows: -```plain +```text Plain: abcdefghijklmnopqrstuvwxyz Cipher: nopqrstuvwxyzabcdefghijklm ``` @@ -23,6 +23,7 @@ It is stronger than the Atbash cipher because it has 27 possible keys, and 25 us Ciphertext is written out in the same formatting as the input including spaces and punctuation. ## Examples + - ROT5 `omg` gives `trl` - ROT0 `c` gives `c` - ROT26 `Cool` gives `Cool` diff --git a/exercises/run-length-encoding/README.md b/exercises/run-length-encoding/README.md index 7ac55705fa..874d929b0c 100644 --- a/exercises/run-length-encoding/README.md +++ b/exercises/run-length-encoding/README.md @@ -7,20 +7,20 @@ Run-length encoding (RLE) is a simple form of data compression, where runs For example we can represent the original 53 characters with only 13. -``` +```text "WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWB" -> "12WB12W3B24WB" ``` RLE allows the original data to be perfectly reconstructed from the compressed data, which makes it a lossless data compression. -``` +```text "AABCCCDEEEE" -> "2AB3CD4E" -> "AABCCCDEEEE" ``` For simplicity, you can assume that the unencoded string will only contain -the letters A through Z (either lower or upper case) and whitespace. This way -data to be encoded will never contain any numbers and numbers inside data to +the letters A through Z (either lower or upper case) and whitespace. This way +data to be encoded will never contain any numbers and numbers inside data to be decoded always represent the count for the following character. ### Submitting Exercises diff --git a/exercises/saddle-points/README.md b/exercises/saddle-points/README.md index cfbb8c35cf..f058ce4d52 100644 --- a/exercises/saddle-points/README.md +++ b/exercises/saddle-points/README.md @@ -4,7 +4,7 @@ Detect saddle points in a matrix. So say you have a matrix like so: -```plain +```text 0 1 2 |--------- 0 | 9 8 7 @@ -15,7 +15,7 @@ So say you have a matrix like so: It has a saddle point at (1, 0). It's called a "saddle point" because it is greater than or equal to -every element in its row and the less than or equal to every element in +every element in its row and less than or equal to every element in its column. A matrix may have zero or more saddle points. diff --git a/exercises/scale-generator/README.md b/exercises/scale-generator/README.md index ab7fc36dd3..d34b763ad5 100644 --- a/exercises/scale-generator/README.md +++ b/exercises/scale-generator/README.md @@ -32,7 +32,6 @@ Use Flats: F, Bb, Eb, Ab, Db, Gb major d, g, c, f, bb, eb minor - The diatonic scales, and all other scales that derive from the chromatic scale, are built upon intervals. An interval is the space between two pitches. diff --git a/exercises/scrabble-score/README.md b/exercises/scrabble-score/README.md index 1970248ce5..798770b090 100644 --- a/exercises/scrabble-score/README.md +++ b/exercises/scrabble-score/README.md @@ -6,7 +6,7 @@ Given a word, compute the scrabble score for that word. You'll need these: -```plain +```text Letter Value A, E, I, O, U, L, N, R, S, T 1 D, G 2 @@ -18,6 +18,7 @@ Q, Z 10 ``` ## Examples + "cabbage" should be scored as worth 14 points: - 3 points for C @@ -34,6 +35,7 @@ And to total: - = 14 ## Extensions + - You can play a double or a triple letter. - You can play a double or a triple word. diff --git a/exercises/secret-handshake/README.md b/exercises/secret-handshake/README.md index 3bdccdba6e..5bc1069813 100644 --- a/exercises/secret-handshake/README.md +++ b/exercises/secret-handshake/README.md @@ -6,7 +6,7 @@ You and your fellow cohort of those in the "know" when it comes to binary decide to come up with a secret "handshake". -``` +```text 1 = wink 10 = double blink 100 = close your eyes diff --git a/exercises/sgf-parsing/README.md b/exercises/sgf-parsing/README.md index c2953bc5e0..0d3f97633d 100644 --- a/exercises/sgf-parsing/README.md +++ b/exercises/sgf-parsing/README.md @@ -1,4 +1,4 @@ -# Sgf Parsing +# SGF Parsing Parsing a Smart Game Format string. @@ -12,7 +12,7 @@ multiple values. An SGF file may look like this: -``` +```text (;FF[4]C[root]SZ[19];B[aa];W[ab]) ``` @@ -34,7 +34,7 @@ SGF can encode variations of play. Go players do a lot of backtracking in their reviews (let's try this, doesn't work, let's try that) and SGF supports variations of play sequences. For example: -``` +```text (;FF[4](;B[aa];W[ab])(;B[dd];W[ee])) ``` @@ -46,7 +46,7 @@ opening to take the corner). A key can have multiple values associated with it. For example: -``` +```text (;FF[4];AB[aa][ab][ba]) ``` diff --git a/exercises/simple-cipher/README.md b/exercises/simple-cipher/README.md index de0db7fee3..586b5c1501 100644 --- a/exercises/simple-cipher/README.md +++ b/exercises/simple-cipher/README.md @@ -47,7 +47,7 @@ Given the key "aaaaaaaaaaaaaaaaaa", encoding the string "iamapandabear" would return the original "iamapandabear". Given the key "ddddddddddddddddd", encoding our string "iamapandabear" -would return the obscured "lpdsdqgdehdu" +would return the obscured "ldpdsdqgdehdu" In the example above, we've set a = 0 for the key value. So when the plaintext is added to the key, we end up with the same message coming @@ -58,15 +58,13 @@ would get the same thing as the Caesar Cipher. The weakest link in any cipher is the human being. Let's make your substitution cipher a little more fault tolerant by providing a source -of randomness and ensuring that the key is not composed of numbers or -capital letters. +of randomness and ensuring that the key contains only lowercase letters. If someone doesn't submit a key at all, generate a truly random key of -at least 100 characters in length, accessible via Cipher#key (the # -syntax means instance variable) +at least 100 characters in length. -If the key submitted has capital letters or numbers, throw an -ArgumentError with a message to that effect. +If the key submitted is not composed only of lowercase letters, your +solution should handle the error in a language-appropriate way. ## Extensions diff --git a/exercises/space-age/README.md b/exercises/space-age/README.md index 03f12bf20e..a6bf144bf2 100644 --- a/exercises/space-age/README.md +++ b/exercises/space-age/README.md @@ -12,7 +12,7 @@ Given an age in seconds, calculate how old someone would be on: - Neptune: orbital period 164.79132 Earth years So if you were told someone were 1,000,000,000 seconds old, you should -be able to say that they're 31 Earth-years old. +be able to say that they're 31.69 Earth-years old. If you're wondering why Pluto didn't make the cut, go watch [this youtube video](http://www.youtube.com/watch?v=Z_2gbGXzFbs). diff --git a/exercises/spiral-matrix/README.md b/exercises/spiral-matrix/README.md index 2ea565a6c5..c2871c6a98 100644 --- a/exercises/spiral-matrix/README.md +++ b/exercises/spiral-matrix/README.md @@ -1,4 +1,4 @@ -# Spiral Matrix +# Spiral Matrix Given the size, return a square matrix of numbers in spiral order. @@ -6,17 +6,17 @@ The matrix should be filled with natural numbers, starting from 1 in the top-left corner, increasing in an inward, clockwise spiral order, like these examples: -##### Spiral matrix of size 3 +###### Spiral matrix of size 3 -```plain +```text 1 2 3 8 9 4 7 6 5 ``` -##### Spiral matrix of size 4 +###### Spiral matrix of size 4 -```plain +```text 1 2 3 4 12 13 14 5 11 16 15 6 @@ -28,8 +28,8 @@ like these examples: Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. - ## Source + Reddit r/dailyprogrammer challenge #320 [Easy] Spiral Ascension. [https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/](https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/) ## Submitting Incomplete Solutions diff --git a/exercises/sum-of-multiples/README.md b/exercises/sum-of-multiples/README.md index 68f9fdf25d..cab098804e 100644 --- a/exercises/sum-of-multiples/README.md +++ b/exercises/sum-of-multiples/README.md @@ -1,16 +1,13 @@ # Sum Of Multiples -Given a number, find the sum of all the multiples of particular numbers up to +Given a number, find the sum of all the unique multiples of particular numbers up to but not including that number. -If we list all the natural numbers up to but not including 20 that are -multiples of either 3 or 5, we get 3, 5, 6 and 9, 10, 12, 15, and 18. +If we list all the natural numbers below 20 that are multiples of 3 or 5, +we get 3, 5, 6, 9, 10, 12, 15, and 18. The sum of these multiples is 78. -Given a number, find the sum of the multiples of a given set of numbers, -up to but not including that number. - ## Hints This exercise requires you to process a collection of data. You can simplify your code by using LINQ (Language Integrated Query). For more information, see [this page](https://docs.microsoft.com/en-us/dotnet/articles/standard/using-linq). diff --git a/exercises/tournament/README.md b/exercises/tournament/README.md index 5ab70c3ee0..0030585fbc 100644 --- a/exercises/tournament/README.md +++ b/exercises/tournament/README.md @@ -5,7 +5,7 @@ Tally the results of a small football competition. Based on an input file containing which team played against which and what the outcome was, create a file with a table like this: -``` +```text Team | MP | W | D | L | P Devastating Donkeys | 3 | 2 | 1 | 0 | 7 Allegoric Alaskans | 3 | 2 | 0 | 1 | 6 @@ -31,7 +31,7 @@ Input Your tallying program will receive input that looks like: -``` +```text Allegoric Alaskans;Blithering Badgers;win Devastating Donkeys;Courageous Californians;draw Devastating Donkeys;Allegoric Alaskans;win @@ -42,7 +42,7 @@ Allegoric Alaskans;Courageous Californians;win The result of the match refers to the first team listed. So this line -``` +```text Allegoric Alaskans;Blithering Badgers;win ``` @@ -50,7 +50,7 @@ Means that the Allegoric Alaskans beat the Blithering Badgers. This line: -``` +```text Courageous Californians;Blithering Badgers;loss ``` @@ -58,7 +58,7 @@ Means that the Blithering Badgers beat the Courageous Californians. And this line: -``` +```text Devastating Donkeys;Courageous Californians;draw ``` diff --git a/exercises/transpose/README.md b/exercises/transpose/README.md index eea2957d31..9af62800dc 100644 --- a/exercises/transpose/README.md +++ b/exercises/transpose/README.md @@ -4,14 +4,14 @@ Given an input text output it transposed. Roughly explained, the transpose of a matrix: -``` +```text ABC DEF ``` is given by: -``` +```text AD BE CF @@ -26,14 +26,14 @@ If the input has rows of different lengths, this is to be solved as follows: Therefore, transposing this matrix: -``` +```text ABC DE ``` results in: -``` +```text AD BE C @@ -41,21 +41,21 @@ C And transposing: -``` +```text AB DEF ``` results in: -``` +```text AD BE F ``` In general, all characters from the input should also be present in the transposed output. -That means that if a column in the input text contains only spaces on its bottom-most row(s), +That means that if a column in the input text contains only spaces on its bottom-most row(s), the corresponding output row should contain the spaces in its right-most column(s). ### Submitting Exercises diff --git a/exercises/tree-building/README.md b/exercises/tree-building/README.md index e3c5c974a3..2950dc65a2 100644 --- a/exercises/tree-building/README.md +++ b/exercises/tree-building/README.md @@ -11,12 +11,12 @@ Your job will be to refactor a working but slow and ugly piece of code that implements the tree building logic for highly abstracted records. The records only contain an ID number and a parent ID number. The ID number is always between 0 (inclusive) and the length of the record list (exclusive). All records -have a parent ID lower than their own ID, except for the root record, which has +have a parent ID lower than their own ID, except for the root record, which has a parent ID that's equal to its own ID. An example tree: -
+```text
 root (ID: 0, parent ID: 0)
 |-- child1 (ID: 1, parent ID: 0)
 |    |-- grandchild1 (ID: 2, parent ID: 1)
@@ -24,7 +24,7 @@ root (ID: 0, parent ID: 0)
 +-- child2 (ID: 3, parent ID: 0)
 |    +-- grandchild3 (ID: 6, parent ID: 3)
 +-- child3 (ID: 5, parent ID: 0)
-
+``` ### Submitting Exercises diff --git a/exercises/triangle/README.md b/exercises/triangle/README.md index 9aeacbac11..0ebf42ee25 100644 --- a/exercises/triangle/README.md +++ b/exercises/triangle/README.md @@ -2,23 +2,26 @@ Determine if a triangle is equilateral, isosceles, or scalene. -An _equilateral_ triangle has all three sides the same length.
+An _equilateral_ triangle has all three sides the same length. + An _isosceles_ triangle has at least two sides the same length. (It is sometimes specified as having exactly two sides the same length, but for the purposes of -this exercise we'll say at least two.)
+this exercise we'll say at least two.) + A _scalene_ triangle has all sides of different lengths. ## Note -For a shape to be a triangle at all, all sides have to be of length > 0, and -the sum of the lengths of any two sides must be greater than or equal to the +For a shape to be a triangle at all, all sides have to be of length > 0, and +the sum of the lengths of any two sides must be greater than or equal to the length of the third side. See [Triangle Inequality](https://en.wikipedia.org/wiki/Triangle_inequality). ## Dig Deeper -The case where the sum of the lengths of two sides _equals_ that of the -third is known as a _degenerate_ triangle - it has zero area and looks like +The case where the sum of the lengths of two sides _equals_ that of the +third is known as a _degenerate_ triangle - it has zero area and looks like a single line. Feel free to add your own code/tests to check for degenerate triangles. + ### Submitting Exercises Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. diff --git a/exercises/trinary/README.md b/exercises/trinary/README.md index fd06c96dba..350d07135b 100644 --- a/exercises/trinary/README.md +++ b/exercises/trinary/README.md @@ -11,7 +11,7 @@ Trinary numbers contain three symbols: 0, 1, and 2. The last place in a trinary number is the 1's place. The second to last is the 3's place, the third to last is the 9's place, etc. -```bash +```shell # "102012" 1 0 2 0 1 2 # the number 1*3^5 + 0*3^4 + 2*3^3 + 0*3^2 + 1*3^1 + 2*3^0 # the value diff --git a/exercises/twelve-days/README.md b/exercises/twelve-days/README.md index 4faf98a8e0..3211dd85dc 100644 --- a/exercises/twelve-days/README.md +++ b/exercises/twelve-days/README.md @@ -2,7 +2,7 @@ Output the lyrics to 'The Twelve Days of Christmas'. -``` +```text On the first day of Christmas my true love gave to me, a Partridge in a Pear Tree. On the second day of Christmas my true love gave to me, two Turtle Doves, and a Partridge in a Pear Tree. diff --git a/exercises/two-bucket/README.md b/exercises/two-bucket/README.md index f803bdec6e..31c22f1be1 100644 --- a/exercises/two-bucket/README.md +++ b/exercises/two-bucket/README.md @@ -4,22 +4,22 @@ Given two buckets of different size, demonstrate how to measure an exact number Since this mathematical problem is fairly subject to interpretation / individual approach, the tests have been written specifically to expect one overarching solution. -To help, the tests provide you with which bucket to fill first. That means, when starting with the larger bucket full, you are NOT allowed at any point to have the smaller bucket full and the larger bucket empty (aka, the opposite starting point); that would defeat the purpose of comparing both approaches! +To help, the tests provide you with which bucket to fill first. That means, when starting with the larger bucket full, you are NOT allowed at any point to have the smaller bucket full and the larger bucket empty (aka, the opposite starting point); that would defeat the purpose of comparing both approaches! Your program will take as input: -- the size of bucket one, passed as a numeric value -- the size of bucket two, passed as a numeric value -- the desired number of liters to reach, passed as a numeric value -- which bucket to fill first, passed as a String (either 'one' or 'two') +- the size of bucket one +- the size of bucket two +- the desired number of liters to reach +- which bucket to fill first, either bucket one or bucket two Your program should determine: -- the total number of "moves" it should take to reach the desired number of liters, including the first fill - expects a numeric value -- which bucket should end up with the desired number of liters (let's say this is bucket A) - expects a String (either 'one' or 'two') -- how many liters are left in the other bucket (bucket B) - expects a numeric value +- the total number of "moves" it should take to reach the desired number of liters, including the first fill +- which bucket should end up with the desired number of liters (let's say this is bucket A) - either bucket one or bucket two +- how many liters are left in the other bucket (bucket B) -Note: any time a change is made to either or both buckets counts as one (1) move. +Note: any time a change is made to either or both buckets counts as one (1) move. -Example: +Example: Bucket one can hold up to 7 liters, and bucket two can hold up to 11 liters. Let's say bucket one, at a given step, is holding 7 liters, and bucket two is holding 8 liters (7,8). If you empty bucket one and make no change to bucket two, leaving you with 0 liters and 8 liters respectively (0,8), that counts as one "move". Instead, if you had poured from bucket one into bucket two until bucket two was full, leaving you with 4 liters in bucket one and 11 liters in bucket two (4,11), that would count as only one "move" as well. To conclude, the only valid moves are: diff --git a/exercises/two-fer/README.md b/exercises/two-fer/README.md index 737357652e..888cdbc979 100644 --- a/exercises/two-fer/README.md +++ b/exercises/two-fer/README.md @@ -1,25 +1,25 @@ -# Two Fer - -Create a sentence of the form "One for X, one for me." +# Two Fer `Two-fer` or `2-fer` is short for two for one. One for you and one for me. -```plain +```text "One for X, one for me." ``` When X is a name or "you". -If the given name is "Alice", the result should be "One for Alice, one for me." If no name is given, the result should be "One for you, one for me." +If the given name is "Alice", the result should be "One for Alice, one for me." +If no name is given, the result should be "One for you, one for me." + ### Submitting Exercises Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. - ## Source -This is an exercise to introduce users to basic programming constructs, just after Hello World. [https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer) + +[https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer) ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/variable-length-quantity/README.md b/exercises/variable-length-quantity/README.md index 7858236746..8369a0c7ac 100644 --- a/exercises/variable-length-quantity/README.md +++ b/exercises/variable-length-quantity/README.md @@ -5,18 +5,17 @@ Implement variable length quantity encoding and decoding. The goal of this exercise is to implement [VLQ](https://en.wikipedia.org/wiki/Variable-length_quantity) encoding/decoding. In short, the goal of this encoding is to encode integer values in a way that would save bytes. -Only the first 7 bits of each byte is significant (right-justified; sort of like an ASCII byte). -So, if you have a 32-bit value, you have to unpack it into a series of 7-bit bytes. -Of course, you will have a variable number of bytes depending upon your integer. +Only the first 7 bits of each byte is significant (right-justified; sort of like an ASCII byte). +So, if you have a 32-bit value, you have to unpack it into a series of 7-bit bytes. +Of course, you will have a variable number of bytes depending upon your integer. To indicate which is the last byte of the series, you leave bit #7 clear. -In all of the preceding bytes, you set bit #7. +In all of the preceding bytes, you set bit #7. -So, if an integer is between `0-127`, it can be represented as one byte. +So, if an integer is between `0-127`, it can be represented as one byte. Although VLQ can deal with numbers of arbitrary sizes, for this exercise we will restrict ourselves to only numbers that fit in a 32-bit unsigned integer. Here are examples of integers as 32-bit values, and the variable length quantities that they translate to: - -``` +```text NUMBER VARIABLE QUANTITY 00000000 00 00000040 40 diff --git a/exercises/word-count/README.md b/exercises/word-count/README.md index 40719dd4cd..67928b9e5f 100644 --- a/exercises/word-count/README.md +++ b/exercises/word-count/README.md @@ -4,14 +4,13 @@ Given a phrase, count the occurrences of each word in that phrase. For example for the input `"olly olly in come free"` -```plain +```text olly: 2 in: 1 come: 1 free: 1 ``` - ### Submitting Exercises Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. diff --git a/exercises/word-search/README.md b/exercises/word-search/README.md index dca54fe853..cf17dc53ea 100644 --- a/exercises/word-search/README.md +++ b/exercises/word-search/README.md @@ -5,7 +5,7 @@ words in them. For example: -``` +```text jefblpepre camdcimgtc oivokprjsm diff --git a/exercises/wordy/README.md b/exercises/wordy/README.md index f2bc14a894..8009cae4e4 100644 --- a/exercises/wordy/README.md +++ b/exercises/wordy/README.md @@ -2,7 +2,6 @@ Parse and evaluate simple math word problems returning the answer as an integer. - ## Iteration 1 — Addition Add two numbers together. @@ -13,7 +12,6 @@ Evaluates to 18. Handle large numbers and negative numbers. - ## Iteration 2 — Subtraction, Multiplication and Division Now, perform the other three operations. @@ -30,7 +28,6 @@ Now, perform the other three operations. 5 - ## Iteration 3 — Multiple Operations Handle a set of operations, in sequence. @@ -46,7 +43,6 @@ left-to-right, _ignoring the typical order of operations._ 15 (i.e. not 9) - ## Bonus — Exponentials If you'd like, handle exponentials. @@ -55,7 +51,6 @@ If you'd like, handle exponentials. 32 - ## Hints - To parse the text, you could try to use the [Sprache](https://github.com/sprache/Sprache/blob/develop/README.md) library. You can also find a good tutorial [here](https://www.thomaslevesque.com/2017/02/23/easy-text-parsing-in-c-with-sprache/). diff --git a/exercises/zipper/README.md b/exercises/zipper/README.md index c2b599a78f..43d3fd9c2f 100644 --- a/exercises/zipper/README.md +++ b/exercises/zipper/README.md @@ -3,7 +3,7 @@ Creating a zipper for a binary tree. [Zippers](https://en.wikipedia.org/wiki/Zipper_%28data_structure%29) are -a way purely functional of navigating within a data structure and +a purely functional way of navigating within a data structure and manipulating it. They essentially contain a data structure and a pointer into that data structure (called the focus). From c02d836097eba8a719c9a2518b875c01e49e4009 Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Sun, 4 Feb 2018 12:56:33 -0700 Subject: [PATCH 4/6] Inline the exercise README insert into the template Now that we have a track-wide template, we can get rid of the docs insert. --- config/exercise_readme.go.tmpl | 10 ++++++---- docs/EXERCISE_README_INSERT.md | 5 ----- exercises/accumulate/README.md | 1 + exercises/acronym/README.md | 1 + exercises/allergies/README.md | 1 + exercises/anagram/README.md | 1 + exercises/armstrong-numbers/README.md | 1 + exercises/atbash-cipher/README.md | 1 + exercises/beer-song/README.md | 1 + exercises/binary-search-tree/README.md | 1 + exercises/binary-search/README.md | 1 + exercises/binary/README.md | 1 + exercises/bob/README.md | 1 + exercises/book-store/README.md | 1 + exercises/bowling/README.md | 1 + exercises/bracket-push/README.md | 1 + exercises/change/README.md | 1 + exercises/circular-buffer/README.md | 1 + exercises/clock/README.md | 1 + exercises/collatz-conjecture/README.md | 1 + exercises/complex-numbers/README.md | 1 + exercises/crypto-square/README.md | 1 + exercises/diamond/README.md | 1 + exercises/difference-of-squares/README.md | 1 + exercises/diffie-hellman/README.md | 1 + exercises/etl/README.md | 1 + exercises/flatten-array/README.md | 1 + exercises/food-chain/README.md | 1 + exercises/gigasecond/README.md | 1 + exercises/grade-school/README.md | 1 + exercises/grains/README.md | 1 + exercises/grep/README.md | 1 + exercises/hamming/README.md | 1 + exercises/hello-world/README.md | 1 + exercises/hexadecimal/README.md | 1 + exercises/house/README.md | 1 + exercises/isbn-verifier/README.md | 1 + exercises/isogram/README.md | 1 + exercises/kindergarten-garden/README.md | 1 + exercises/largest-series-product/README.md | 1 + exercises/leap/README.md | 1 + exercises/linked-list/README.md | 1 + exercises/luhn/README.md | 1 + exercises/matrix/README.md | 1 + exercises/meetup/README.md | 1 + exercises/nth-prime/README.md | 1 + exercises/nucleotide-count/README.md | 1 + exercises/ocr-numbers/README.md | 1 + exercises/octal/README.md | 1 + exercises/palindrome-products/README.md | 1 + exercises/pangram/README.md | 1 + exercises/pascals-triangle/README.md | 1 + exercises/perfect-numbers/README.md | 1 + exercises/phone-number/README.md | 1 + exercises/pig-latin/README.md | 1 + exercises/poker/README.md | 1 + exercises/pov/README.md | 1 + exercises/prime-factors/README.md | 1 + exercises/protein-translation/README.md | 1 + exercises/proverb/README.md | 1 + exercises/pythagorean-triplet/README.md | 1 + exercises/queen-attack/README.md | 1 + exercises/rail-fence-cipher/README.md | 1 + exercises/raindrops/README.md | 1 + exercises/reverse-string/README.md | 1 + exercises/rna-transcription/README.md | 1 + exercises/robot-name/README.md | 1 + exercises/robot-simulator/README.md | 1 + exercises/roman-numerals/README.md | 1 + exercises/rotational-cipher/README.md | 1 + exercises/run-length-encoding/README.md | 1 + exercises/saddle-points/README.md | 1 + exercises/say/README.md | 1 + exercises/scrabble-score/README.md | 1 + exercises/secret-handshake/README.md | 1 + exercises/series/README.md | 1 + exercises/sieve/README.md | 1 + exercises/simple-cipher/README.md | 1 + exercises/simple-linked-list/README.md | 1 + exercises/space-age/README.md | 1 + exercises/spiral-matrix/README.md | 1 + exercises/strain/README.md | 1 + exercises/sum-of-multiples/README.md | 1 + exercises/transpose/README.md | 1 + exercises/triangle/README.md | 1 + exercises/trinary/README.md | 1 + exercises/twelve-days/README.md | 1 + exercises/two-bucket/README.md | 1 + exercises/two-fer/README.md | 1 + exercises/variable-length-quantity/README.md | 1 + exercises/word-count/README.md | 1 + exercises/wordy/README.md | 1 + exercises/zebra-puzzle/README.md | 1 + 93 files changed, 97 insertions(+), 9 deletions(-) delete mode 100644 docs/EXERCISE_README_INSERT.md diff --git a/config/exercise_readme.go.tmpl b/config/exercise_readme.go.tmpl index 2b26f49428..1d218e66a5 100644 --- a/config/exercise_readme.go.tmpl +++ b/config/exercise_readme.go.tmpl @@ -4,10 +4,12 @@ {{- with .Hints }} {{ . }} {{ end }} -{{- with .TrackInsert }} -{{ . }} -{{ end }} -{{- with .Spec.Credits -}} +### Submitting Exercises + +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. + +For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +{{ with .Spec.Credits }} ## Source {{ . }} diff --git a/docs/EXERCISE_README_INSERT.md b/docs/EXERCISE_README_INSERT.md deleted file mode 100644 index ad5c0dfbd1..0000000000 --- a/docs/EXERCISE_README_INSERT.md +++ /dev/null @@ -1,5 +0,0 @@ -### Submitting Exercises - -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. \ No newline at end of file diff --git a/exercises/accumulate/README.md b/exercises/accumulate/README.md index c5b2fbcde6..f8e92168bf 100644 --- a/exercises/accumulate/README.md +++ b/exercises/accumulate/README.md @@ -33,6 +33,7 @@ This exercise requires you to write an extension method. For more information, s Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Conversation with James Edward Gray II [https://twitter.com/jeg2](https://twitter.com/jeg2) diff --git a/exercises/acronym/README.md b/exercises/acronym/README.md index 681e63a39d..1b153cd36a 100644 --- a/exercises/acronym/README.md +++ b/exercises/acronym/README.md @@ -12,6 +12,7 @@ like Portable Network Graphics to its acronym (PNG). Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Julien Vanier [https://github.com/monkbroc](https://github.com/monkbroc) diff --git a/exercises/allergies/README.md b/exercises/allergies/README.md index 6e3ca70af9..66110c3a28 100644 --- a/exercises/allergies/README.md +++ b/exercises/allergies/README.md @@ -37,6 +37,7 @@ This exercise requires you to use bitwise operations. For more information, see Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Jumpstart Lab Warm-up [http://jumpstartlab.com](http://jumpstartlab.com) diff --git a/exercises/anagram/README.md b/exercises/anagram/README.md index 6b3a3c48a2..74bc68eb94 100644 --- a/exercises/anagram/README.md +++ b/exercises/anagram/README.md @@ -11,6 +11,7 @@ Given `"listen"` and a list of candidates like `"enlists" "google" Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Inspired by the Extreme Startup game [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup) diff --git a/exercises/armstrong-numbers/README.md b/exercises/armstrong-numbers/README.md index cada2cb394..4311295786 100644 --- a/exercises/armstrong-numbers/README.md +++ b/exercises/armstrong-numbers/README.md @@ -16,6 +16,7 @@ Write some code to determine whether a number is an Armstrong number. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [https://en.wikipedia.org/wiki/Narcissistic_number](https://en.wikipedia.org/wiki/Narcissistic_number) diff --git a/exercises/atbash-cipher/README.md b/exercises/atbash-cipher/README.md index 30535e3852..7f90b188d7 100644 --- a/exercises/atbash-cipher/README.md +++ b/exercises/atbash-cipher/README.md @@ -33,6 +33,7 @@ things based on word boundaries. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [http://en.wikipedia.org/wiki/Atbash](http://en.wikipedia.org/wiki/Atbash) diff --git a/exercises/beer-song/README.md b/exercises/beer-song/README.md index 01770f3629..b5111bcaaf 100644 --- a/exercises/beer-song/README.md +++ b/exercises/beer-song/README.md @@ -328,6 +328,7 @@ experiment make the code better? Worse? Did you learn anything from it? Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Learn to Program by Chris Pine [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06) diff --git a/exercises/binary-search-tree/README.md b/exercises/binary-search-tree/README.md index f132c64733..a6b726260a 100644 --- a/exercises/binary-search-tree/README.md +++ b/exercises/binary-search-tree/README.md @@ -58,6 +58,7 @@ And if we then added 1, 5, and 7, it would look like this Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Josh Cheek [https://twitter.com/josh_cheek](https://twitter.com/josh_cheek) diff --git a/exercises/binary-search/README.md b/exercises/binary-search/README.md index dab760c6ca..36e6a85173 100644 --- a/exercises/binary-search/README.md +++ b/exercises/binary-search/README.md @@ -39,6 +39,7 @@ A binary search is a dichotomic divide and conquer search algorithm. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [http://en.wikipedia.org/wiki/Binary_search_algorithm](http://en.wikipedia.org/wiki/Binary_search_algorithm) diff --git a/exercises/binary/README.md b/exercises/binary/README.md index e514b80df0..54e566979e 100644 --- a/exercises/binary/README.md +++ b/exercises/binary/README.md @@ -35,6 +35,7 @@ So: `101 => 1*2^2 + 0*2^1 + 1*2^0 => 1*4 + 0*2 + 1*1 => 4 + 1 => 5 base 10`. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source All of Computer Science [http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-](http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-) diff --git a/exercises/bob/README.md b/exercises/bob/README.md index c0a5ee152d..b1a125b605 100644 --- a/exercises/bob/README.md +++ b/exercises/bob/README.md @@ -18,6 +18,7 @@ He answers 'Whatever.' to anything else. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06) diff --git a/exercises/book-store/README.md b/exercises/book-store/README.md index bad3da2adc..d392633c0f 100644 --- a/exercises/book-store/README.md +++ b/exercises/book-store/README.md @@ -72,6 +72,7 @@ And $51.20 is the price with the biggest discount. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Inspired by the harry potter kata from Cyber-Dojo. [http://cyber-dojo.org](http://cyber-dojo.org) diff --git a/exercises/bowling/README.md b/exercises/bowling/README.md index 7e64c71925..ce4046a6bb 100644 --- a/exercises/bowling/README.md +++ b/exercises/bowling/README.md @@ -65,6 +65,7 @@ support two operations: Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source The Bowling Game Kata at but UncleBob [http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata](http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata) diff --git a/exercises/bracket-push/README.md b/exercises/bracket-push/README.md index 88de908ad9..239ada8e7c 100644 --- a/exercises/bracket-push/README.md +++ b/exercises/bracket-push/README.md @@ -8,6 +8,7 @@ verify that all the pairs are matched and nested correctly. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Ginna Baker diff --git a/exercises/change/README.md b/exercises/change/README.md index c8df8e6c52..0ef319554b 100644 --- a/exercises/change/README.md +++ b/exercises/change/README.md @@ -21,6 +21,7 @@ that the sum of the coins' value would equal the correct amount of change. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Software Craftsmanship - Coin Change Kata [https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata](https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata) diff --git a/exercises/circular-buffer/README.md b/exercises/circular-buffer/README.md index aba13d1a9d..10e032a604 100644 --- a/exercises/circular-buffer/README.md +++ b/exercises/circular-buffer/README.md @@ -55,6 +55,7 @@ the buffer is once again full. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [http://en.wikipedia.org/wiki/Circular_buffer](http://en.wikipedia.org/wiki/Circular_buffer) diff --git a/exercises/clock/README.md b/exercises/clock/README.md index c4ea6f028f..d9da7790d7 100644 --- a/exercises/clock/README.md +++ b/exercises/clock/README.md @@ -17,6 +17,7 @@ For more information, see [this page] Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Pairing session with Erin Drummond [https://twitter.com/ebdrummond](https://twitter.com/ebdrummond) diff --git a/exercises/collatz-conjecture/README.md b/exercises/collatz-conjecture/README.md index 7ca16fd620..c7f4941e35 100644 --- a/exercises/collatz-conjecture/README.md +++ b/exercises/collatz-conjecture/README.md @@ -31,6 +31,7 @@ Resulting in 9 steps. So for input n = 12, the return value would be 9. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source An unsolved problem in mathematics named after mathematician Lothar Collatz [https://en.wikipedia.org/wiki/3x_%2B_1_problem](https://en.wikipedia.org/wiki/3x_%2B_1_problem) diff --git a/exercises/complex-numbers/README.md b/exercises/complex-numbers/README.md index 8e7e6e5101..ed840108dc 100644 --- a/exercises/complex-numbers/README.md +++ b/exercises/complex-numbers/README.md @@ -36,6 +36,7 @@ Assume the programming language you are using does not have an implementation of Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [https://en.wikipedia.org/wiki/Complex_number](https://en.wikipedia.org/wiki/Complex_number) diff --git a/exercises/crypto-square/README.md b/exercises/crypto-square/README.md index e33455d013..df67a978ad 100644 --- a/exercises/crypto-square/README.md +++ b/exercises/crypto-square/README.md @@ -74,6 +74,7 @@ sseoau Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source J Dalbey's Programming Practice problems [http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html](http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html) diff --git a/exercises/diamond/README.md b/exercises/diamond/README.md index 8629791d6c..e61ebdd95a 100644 --- a/exercises/diamond/README.md +++ b/exercises/diamond/README.md @@ -69,6 +69,7 @@ If you would like more information on property-based testing, see [this article] Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Seb Rose [http://claysnow.co.uk/recycling-tests-in-tdd/](http://claysnow.co.uk/recycling-tests-in-tdd/) diff --git a/exercises/difference-of-squares/README.md b/exercises/difference-of-squares/README.md index efc13789b4..339d5cb73a 100644 --- a/exercises/difference-of-squares/README.md +++ b/exercises/difference-of-squares/README.md @@ -22,6 +22,7 @@ For more information, see [this page] Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Problem 6 at Project Euler [http://projecteuler.net/problem=6](http://projecteuler.net/problem=6) diff --git a/exercises/diffie-hellman/README.md b/exercises/diffie-hellman/README.md index 9f59cea9e5..c806a24541 100644 --- a/exercises/diffie-hellman/README.md +++ b/exercises/diffie-hellman/README.md @@ -47,6 +47,7 @@ This exercise requires you to perform calculations on large numbers. To correctl Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia, 1024 bit key from www.cryptopp.com/wiki. [http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange](http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) diff --git a/exercises/etl/README.md b/exercises/etl/README.md index 4235283fd5..b5f9eaa8db 100644 --- a/exercises/etl/README.md +++ b/exercises/etl/README.md @@ -51,6 +51,7 @@ game while being scored at 4 in the Hawaiian-language version. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source The Jumpstart Lab team [http://jumpstartlab.com](http://jumpstartlab.com) diff --git a/exercises/flatten-array/README.md b/exercises/flatten-array/README.md index 0dd7d834b6..0108271660 100644 --- a/exercises/flatten-array/README.md +++ b/exercises/flatten-array/README.md @@ -15,6 +15,7 @@ output: [1,2,3,4,5] Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Interview Question [https://reference.wolfram.com/language/ref/Flatten.html](https://reference.wolfram.com/language/ref/Flatten.html) diff --git a/exercises/food-chain/README.md b/exercises/food-chain/README.md index 06ec3ad4a2..5ebb69201c 100644 --- a/exercises/food-chain/README.md +++ b/exercises/food-chain/README.md @@ -72,6 +72,7 @@ She's dead, of course! Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [http://en.wikipedia.org/wiki/There_Was_an_Old_Lady_Who_Swallowed_a_Fly](http://en.wikipedia.org/wiki/There_Was_an_Old_Lady_Who_Swallowed_a_Fly) diff --git a/exercises/gigasecond/README.md b/exercises/gigasecond/README.md index 95043e114f..754f18f423 100644 --- a/exercises/gigasecond/README.md +++ b/exercises/gigasecond/README.md @@ -9,6 +9,7 @@ A gigasecond is 10^9 (1,000,000,000) seconds. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Chapter 9 in Chris Pine's online Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=09](http://pine.fm/LearnToProgram/?Chapter=09) diff --git a/exercises/grade-school/README.md b/exercises/grade-school/README.md index 820254ef0b..208bbd757f 100644 --- a/exercises/grade-school/README.md +++ b/exercises/grade-school/README.md @@ -39,6 +39,7 @@ experiment make the code better? Worse? Did you learn anything from it? Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source A pairing session with Phil Battos at gSchool [http://gschool.it](http://gschool.it) diff --git a/exercises/grains/README.md b/exercises/grains/README.md index f7fcb4541b..89e8b47b51 100644 --- a/exercises/grains/README.md +++ b/exercises/grains/README.md @@ -31,6 +31,7 @@ experiment make the code better? Worse? Did you learn anything from it? Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source JavaRanch Cattle Drive, exercise 6 [http://www.javaranch.com/grains.jsp](http://www.javaranch.com/grains.jsp) diff --git a/exercises/grep/README.md b/exercises/grep/README.md index 94f868f422..a52e91e2e1 100644 --- a/exercises/grep/README.md +++ b/exercises/grep/README.md @@ -69,6 +69,7 @@ print the names of files that do not contain the string "hello". Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Conversation with Nate Foster. [http://www.cs.cornell.edu/Courses/cs3110/2014sp/hw/0/ps0.pdf](http://www.cs.cornell.edu/Courses/cs3110/2014sp/hw/0/ps0.pdf) diff --git a/exercises/hamming/README.md b/exercises/hamming/README.md index 883e3af1bf..a11f8291a1 100644 --- a/exercises/hamming/README.md +++ b/exercises/hamming/README.md @@ -40,6 +40,7 @@ of equal length differently. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source The Calculating Point Mutations problem at Rosalind [http://rosalind.info/problems/hamm/](http://rosalind.info/problems/hamm/) diff --git a/exercises/hello-world/README.md b/exercises/hello-world/README.md index fa7d728c6c..4a5973883e 100644 --- a/exercises/hello-world/README.md +++ b/exercises/hello-world/README.md @@ -19,6 +19,7 @@ If everything goes well, you will be ready to fetch your first real exercise. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source This is an exercise to introduce users to using Exercism [http://en.wikipedia.org/wiki/%22Hello,_world!%22_program](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program) diff --git a/exercises/hexadecimal/README.md b/exercises/hexadecimal/README.md index 98e239789f..e2a1eb20ba 100644 --- a/exercises/hexadecimal/README.md +++ b/exercises/hexadecimal/README.md @@ -12,6 +12,7 @@ The program should handle invalid hexadecimal strings. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source All of Computer Science [http://www.wolframalpha.com/examples/NumberBases.html](http://www.wolframalpha.com/examples/NumberBases.html) diff --git a/exercises/house/README.md b/exercises/house/README.md index 102ecd08b3..407cac1f42 100644 --- a/exercises/house/README.md +++ b/exercises/house/README.md @@ -114,6 +114,7 @@ Try to capture the structure of the song in your code, where you build up the so Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source British nursery rhyme [http://en.wikipedia.org/wiki/This_Is_The_House_That_Jack_Built](http://en.wikipedia.org/wiki/This_Is_The_House_That_Jack_Built) diff --git a/exercises/isbn-verifier/README.md b/exercises/isbn-verifier/README.md index 5444482d26..3a96c4412e 100644 --- a/exercises/isbn-verifier/README.md +++ b/exercises/isbn-verifier/README.md @@ -45,6 +45,7 @@ Now, it's even trickier since the check digit of an ISBN-10 may be 'X' (represen Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Converting a string into a number and some basic processing utilizing a relatable real world example. [https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation](https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation) diff --git a/exercises/isogram/README.md b/exercises/isogram/README.md index 5420586bae..3aaf5d0371 100644 --- a/exercises/isogram/README.md +++ b/exercises/isogram/README.md @@ -18,6 +18,7 @@ The word *isograms*, however, is not an isogram, because the s repeats. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [https://en.wikipedia.org/wiki/Isogram](https://en.wikipedia.org/wiki/Isogram) diff --git a/exercises/kindergarten-garden/README.md b/exercises/kindergarten-garden/README.md index 6af26bd902..f624a11840 100644 --- a/exercises/kindergarten-garden/README.md +++ b/exercises/kindergarten-garden/README.md @@ -64,6 +64,7 @@ While asking for Bob's plants would yield: Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Random musings during airplane trip. [http://jumpstartlab.com](http://jumpstartlab.com) diff --git a/exercises/largest-series-product/README.md b/exercises/largest-series-product/README.md index 59ff369de7..04ef1ca614 100644 --- a/exercises/largest-series-product/README.md +++ b/exercises/largest-series-product/README.md @@ -18,6 +18,7 @@ the largest product for a series of 6 digits is 23520. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source A variation on Problem 8 at Project Euler [http://projecteuler.net/problem=8](http://projecteuler.net/problem=8) diff --git a/exercises/leap/README.md b/exercises/leap/README.md index a154e7c69e..704956519d 100644 --- a/exercises/leap/README.md +++ b/exercises/leap/README.md @@ -31,6 +31,7 @@ phenomenon, go watch [this youtube video][video]. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source JavaRanch Cattle Drive, exercise 3 [http://www.javaranch.com/leap.jsp](http://www.javaranch.com/leap.jsp) diff --git a/exercises/linked-list/README.md b/exercises/linked-list/README.md index 83ad95c8db..b68b3fe330 100644 --- a/exercises/linked-list/README.md +++ b/exercises/linked-list/README.md @@ -32,6 +32,7 @@ If you want to know more about linked lists, check [Wikipedia](https://en.wikipe Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Classic computer science topic diff --git a/exercises/luhn/README.md b/exercises/luhn/README.md index c7e7d4e462..bb8db5d9db 100644 --- a/exercises/luhn/README.md +++ b/exercises/luhn/README.md @@ -69,6 +69,7 @@ Sum the digits Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source The Luhn Algorithm on Wikipedia [http://en.wikipedia.org/wiki/Luhn_algorithm](http://en.wikipedia.org/wiki/Luhn_algorithm) diff --git a/exercises/matrix/README.md b/exercises/matrix/README.md index e75a36b947..485ea64d30 100644 --- a/exercises/matrix/README.md +++ b/exercises/matrix/README.md @@ -45,6 +45,7 @@ And its columns: Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Warmup to the `saddle-points` warmup. [http://jumpstartlab.com](http://jumpstartlab.com) diff --git a/exercises/meetup/README.md b/exercises/meetup/README.md index 471c99d15e..a91722d195 100644 --- a/exercises/meetup/README.md +++ b/exercises/meetup/README.md @@ -31,6 +31,7 @@ descriptor calculate the date of the actual meetup. For example, if given Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Jeremy Hinegardner mentioned a Boulder meetup that happens on the Wednesteenth of every month [https://twitter.com/copiousfreetime](https://twitter.com/copiousfreetime) diff --git a/exercises/nth-prime/README.md b/exercises/nth-prime/README.md index 0c6afff51c..86cad5525b 100644 --- a/exercises/nth-prime/README.md +++ b/exercises/nth-prime/README.md @@ -21,6 +21,7 @@ Note: to help speedup calculation, you should not check numbers which you know b Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source A variation on Problem 7 at Project Euler [http://projecteuler.net/problem=7](http://projecteuler.net/problem=7) diff --git a/exercises/nucleotide-count/README.md b/exercises/nucleotide-count/README.md index 3ca84e51ab..0360eeab89 100644 --- a/exercises/nucleotide-count/README.md +++ b/exercises/nucleotide-count/README.md @@ -21,6 +21,7 @@ This exercise requires the use of a Dictionary. For more information see Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source The Calculating DNA Nucleotides_problem at Rosalind [http://rosalind.info/problems/dna/](http://rosalind.info/problems/dna/) diff --git a/exercises/ocr-numbers/README.md b/exercises/ocr-numbers/README.md index 1fb04e2902..851757dc8d 100644 --- a/exercises/ocr-numbers/README.md +++ b/exercises/ocr-numbers/README.md @@ -83,6 +83,7 @@ Is converted to "123,456,789" Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Inspired by the Bank OCR kata [http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR](http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR) diff --git a/exercises/octal/README.md b/exercises/octal/README.md index a97cf40231..c960622f3d 100644 --- a/exercises/octal/README.md +++ b/exercises/octal/README.md @@ -51,6 +51,7 @@ So: Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source All of Computer Science [http://www.wolframalpha.com/input/?i=base+8](http://www.wolframalpha.com/input/?i=base+8) diff --git a/exercises/palindrome-products/README.md b/exercises/palindrome-products/README.md index ce8ae2cb44..9dba17eb06 100644 --- a/exercises/palindrome-products/README.md +++ b/exercises/palindrome-products/README.md @@ -42,6 +42,7 @@ For more information on tuples, see [this link](https://msdn.microsoft.com/en-us Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Problem 4 at Project Euler [http://projecteuler.net/problem=4](http://projecteuler.net/problem=4) diff --git a/exercises/pangram/README.md b/exercises/pangram/README.md index 99538f6021..9ce2822217 100644 --- a/exercises/pangram/README.md +++ b/exercises/pangram/README.md @@ -13,6 +13,7 @@ insensitive. Input will not contain non-ASCII symbols. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [https://en.wikipedia.org/wiki/Pangram](https://en.wikipedia.org/wiki/Pangram) diff --git a/exercises/pascals-triangle/README.md b/exercises/pascals-triangle/README.md index 71937bac00..8e2df3e53c 100644 --- a/exercises/pascals-triangle/README.md +++ b/exercises/pascals-triangle/README.md @@ -19,6 +19,7 @@ the right and left of the current position in the previous row. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Pascal's Triangle at Wolfram Math World [http://mathworld.wolfram.com/PascalsTriangle.html](http://mathworld.wolfram.com/PascalsTriangle.html) diff --git a/exercises/perfect-numbers/README.md b/exercises/perfect-numbers/README.md index 96845891e1..6b19f68312 100644 --- a/exercises/perfect-numbers/README.md +++ b/exercises/perfect-numbers/README.md @@ -22,6 +22,7 @@ Implement a way to determine whether a given number is **perfect**. Depending on Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Taken from Chapter 2 of Functional Thinking by Neal Ford. [http://shop.oreilly.com/product/0636920029687.do](http://shop.oreilly.com/product/0636920029687.do) diff --git a/exercises/phone-number/README.md b/exercises/phone-number/README.md index a1a5f939ba..d570536319 100644 --- a/exercises/phone-number/README.md +++ b/exercises/phone-number/README.md @@ -33,6 +33,7 @@ should all produce the output Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Event Manager by JumpstartLab [http://tutorials.jumpstartlab.com/projects/eventmanager.html](http://tutorials.jumpstartlab.com/projects/eventmanager.html) diff --git a/exercises/pig-latin/README.md b/exercises/pig-latin/README.md index c83ec11d46..5a6c9f8f20 100644 --- a/exercises/pig-latin/README.md +++ b/exercises/pig-latin/README.md @@ -22,6 +22,7 @@ See for more details. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source The Pig Latin exercise at Test First Teaching by Ultrasaurus [https://github.com/ultrasaurus/test-first-teaching/blob/master/learn_ruby/pig_latin/](https://github.com/ultrasaurus/test-first-teaching/blob/master/learn_ruby/pig_latin/) diff --git a/exercises/poker/README.md b/exercises/poker/README.md index 0c2c88c3c8..ca9dc8326a 100644 --- a/exercises/poker/README.md +++ b/exercises/poker/README.md @@ -10,6 +10,7 @@ overview of poker hands. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Inspired by the training course from Udacity. [https://www.udacity.com/course/viewer#!/c-cs212/](https://www.udacity.com/course/viewer#!/c-cs212/) diff --git a/exercises/pov/README.md b/exercises/pov/README.md index 174fa025aa..528d4305e2 100644 --- a/exercises/pov/README.md +++ b/exercises/pov/README.md @@ -42,6 +42,7 @@ of view of one of the nodes. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Adaptation of exercise from 4clojure [https://www.4clojure.com/](https://www.4clojure.com/) diff --git a/exercises/prime-factors/README.md b/exercises/prime-factors/README.md index 57436c57c3..dac06764fc 100644 --- a/exercises/prime-factors/README.md +++ b/exercises/prime-factors/README.md @@ -34,6 +34,7 @@ You can check this yourself: Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source The Prime Factors Kata by Uncle Bob [http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata](http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata) diff --git a/exercises/protein-translation/README.md b/exercises/protein-translation/README.md index 89f11abb3b..b45971ee6f 100644 --- a/exercises/protein-translation/README.md +++ b/exercises/protein-translation/README.md @@ -46,6 +46,7 @@ Learn more about [protein translation on Wikipedia](http://en.wikipedia.org/wiki Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Tyler Long diff --git a/exercises/proverb/README.md b/exercises/proverb/README.md index e156e315f1..96b3566291 100644 --- a/exercises/proverb/README.md +++ b/exercises/proverb/README.md @@ -25,6 +25,7 @@ Try to capture the structure of the song in your code, where you build up the so Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [http://en.wikipedia.org/wiki/For_Want_of_a_Nail](http://en.wikipedia.org/wiki/For_Want_of_a_Nail) diff --git a/exercises/pythagorean-triplet/README.md b/exercises/pythagorean-triplet/README.md index c78fe25d9f..60eb4a0a46 100644 --- a/exercises/pythagorean-triplet/README.md +++ b/exercises/pythagorean-triplet/README.md @@ -22,6 +22,7 @@ Find the product a * b * c. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Problem 9 at Project Euler [http://projecteuler.net/problem=9](http://projecteuler.net/problem=9) diff --git a/exercises/queen-attack/README.md b/exercises/queen-attack/README.md index 22d7b620dd..6494db4dc1 100644 --- a/exercises/queen-attack/README.md +++ b/exercises/queen-attack/README.md @@ -31,6 +31,7 @@ share a diagonal. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source J Dalbey's Programming Practice problems [http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html](http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html) diff --git a/exercises/rail-fence-cipher/README.md b/exercises/rail-fence-cipher/README.md index 66914b167c..65495bc423 100644 --- a/exercises/rail-fence-cipher/README.md +++ b/exercises/rail-fence-cipher/README.md @@ -63,6 +63,7 @@ If you now read along the zig-zag shape you can read the original message. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [https://en.wikipedia.org/wiki/Transposition_cipher#Rail_Fence_cipher](https://en.wikipedia.org/wiki/Transposition_cipher#Rail_Fence_cipher) diff --git a/exercises/raindrops/README.md b/exercises/raindrops/README.md index f77166d261..4decaff424 100644 --- a/exercises/raindrops/README.md +++ b/exercises/raindrops/README.md @@ -22,6 +22,7 @@ Convert a number to a string, the contents of which depend on the number's facto Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source A variation on a famous interview question intended to weed out potential candidates. [http://jumpstartlab.com](http://jumpstartlab.com) diff --git a/exercises/reverse-string/README.md b/exercises/reverse-string/README.md index 6358d54155..31f9c4fce8 100644 --- a/exercises/reverse-string/README.md +++ b/exercises/reverse-string/README.md @@ -11,6 +11,7 @@ output: "looc" Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Introductory challenge to reverse an input string [https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb](https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb) diff --git a/exercises/rna-transcription/README.md b/exercises/rna-transcription/README.md index 5800f51cb2..a61df02dfa 100644 --- a/exercises/rna-transcription/README.md +++ b/exercises/rna-transcription/README.md @@ -23,6 +23,7 @@ each nucleotide with its complement: Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Hyperphysics [http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html](http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html) diff --git a/exercises/robot-name/README.md b/exercises/robot-name/README.md index 6d9d1f07f9..1b6c5ae377 100644 --- a/exercises/robot-name/README.md +++ b/exercises/robot-name/README.md @@ -20,6 +20,7 @@ every existing robot has a unique name. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source A debugging session with Paul Blackwell at gSchool. [http://gschool.it](http://gschool.it) diff --git a/exercises/robot-simulator/README.md b/exercises/robot-simulator/README.md index 19a792996c..67ef172320 100644 --- a/exercises/robot-simulator/README.md +++ b/exercises/robot-simulator/README.md @@ -32,6 +32,7 @@ direction it is pointing. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Inspired by an interview question at a famous company. diff --git a/exercises/roman-numerals/README.md b/exercises/roman-numerals/README.md index f9a831b1ef..b9bc19c14c 100644 --- a/exercises/roman-numerals/README.md +++ b/exercises/roman-numerals/README.md @@ -51,6 +51,7 @@ This exercise requires you to write an extension method. For more information, s Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source The Roman Numeral Kata [http://codingdojo.org/cgi-bin/index.pl?KataRomanNumerals](http://codingdojo.org/cgi-bin/index.pl?KataRomanNumerals) diff --git a/exercises/rotational-cipher/README.md b/exercises/rotational-cipher/README.md index 2d511d2b58..50d55e3a26 100644 --- a/exercises/rotational-cipher/README.md +++ b/exercises/rotational-cipher/README.md @@ -35,6 +35,7 @@ Ciphertext is written out in the same formatting as the input including spaces a Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [https://en.wikipedia.org/wiki/Caesar_cipher](https://en.wikipedia.org/wiki/Caesar_cipher) diff --git a/exercises/run-length-encoding/README.md b/exercises/run-length-encoding/README.md index 874d929b0c..59d9c8a899 100644 --- a/exercises/run-length-encoding/README.md +++ b/exercises/run-length-encoding/README.md @@ -28,6 +28,7 @@ be decoded always represent the count for the following character. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [https://en.wikipedia.org/wiki/Run-length_encoding](https://en.wikipedia.org/wiki/Run-length_encoding) diff --git a/exercises/saddle-points/README.md b/exercises/saddle-points/README.md index f058ce4d52..a7521eda4f 100644 --- a/exercises/saddle-points/README.md +++ b/exercises/saddle-points/README.md @@ -36,6 +36,7 @@ For more information on tuples, see [this link](https://msdn.microsoft.com/en-us Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source J Dalbey's Programming Practice problems [http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html](http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html) diff --git a/exercises/say/README.md b/exercises/say/README.md index a5d67e6c53..f16623dcf6 100644 --- a/exercises/say/README.md +++ b/exercises/say/README.md @@ -67,6 +67,7 @@ Use _and_ (correctly) when spelling out the number in English: Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source A variation on JavaRanch CattleDrive, exercise 4a [http://www.javaranch.com/say.jsp](http://www.javaranch.com/say.jsp) diff --git a/exercises/scrabble-score/README.md b/exercises/scrabble-score/README.md index 798770b090..28d78e73ec 100644 --- a/exercises/scrabble-score/README.md +++ b/exercises/scrabble-score/README.md @@ -44,6 +44,7 @@ And to total: Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Inspired by the Extreme Startup game [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup) diff --git a/exercises/secret-handshake/README.md b/exercises/secret-handshake/README.md index 5bc1069813..f5a7e8cbb1 100644 --- a/exercises/secret-handshake/README.md +++ b/exercises/secret-handshake/README.md @@ -33,6 +33,7 @@ has caused the array to be reversed. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Bert, in Mary Poppins [http://www.imdb.com/title/tt0058331/quotes/qt0437047](http://www.imdb.com/title/tt0058331/quotes/qt0437047) diff --git a/exercises/series/README.md b/exercises/series/README.md index 60d824b165..f970f682f5 100644 --- a/exercises/series/README.md +++ b/exercises/series/README.md @@ -25,6 +25,7 @@ in the input; the digits need not be *numerically consecutive*. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source A subset of the Problem 8 at Project Euler [http://projecteuler.net/problem=8](http://projecteuler.net/problem=8) diff --git a/exercises/sieve/README.md b/exercises/sieve/README.md index 2fdfed5bef..a69a830714 100644 --- a/exercises/sieve/README.md +++ b/exercises/sieve/README.md @@ -32,6 +32,7 @@ correct list of primes. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Sieve of Eratosthenes at Wikipedia [http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes](http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes) diff --git a/exercises/simple-cipher/README.md b/exercises/simple-cipher/README.md index 586b5c1501..28ae5985dd 100644 --- a/exercises/simple-cipher/README.md +++ b/exercises/simple-cipher/README.md @@ -86,6 +86,7 @@ on Wikipedia][dh] for one of the first implementations of this scheme. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Substitution Cipher at Wikipedia [http://en.wikipedia.org/wiki/Substitution_cipher](http://en.wikipedia.org/wiki/Substitution_cipher) diff --git a/exercises/simple-linked-list/README.md b/exercises/simple-linked-list/README.md index 212526d681..2c4a915a00 100644 --- a/exercises/simple-linked-list/README.md +++ b/exercises/simple-linked-list/README.md @@ -30,6 +30,7 @@ For more information, see [this page](https://msdn.microsoft.com/en-us/library/9 Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Inspired by 'Data Structures and Algorithms with Object-Oriented Design Patterns in Ruby', singly linked-lists. [http://www.brpreiss.com/books/opus8/html/page96.html#SECTION004300000000000000000](http://www.brpreiss.com/books/opus8/html/page96.html#SECTION004300000000000000000) diff --git a/exercises/space-age/README.md b/exercises/space-age/README.md index a6bf144bf2..6148b6f997 100644 --- a/exercises/space-age/README.md +++ b/exercises/space-age/README.md @@ -22,6 +22,7 @@ youtube video](http://www.youtube.com/watch?v=Z_2gbGXzFbs). Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=01](http://pine.fm/LearnToProgram/?Chapter=01) diff --git a/exercises/spiral-matrix/README.md b/exercises/spiral-matrix/README.md index c2871c6a98..259a7c89c0 100644 --- a/exercises/spiral-matrix/README.md +++ b/exercises/spiral-matrix/README.md @@ -28,6 +28,7 @@ like these examples: Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Reddit r/dailyprogrammer challenge #320 [Easy] Spiral Ascension. [https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/](https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/) diff --git a/exercises/strain/README.md b/exercises/strain/README.md index 1c780b8590..fc385131f0 100644 --- a/exercises/strain/README.md +++ b/exercises/strain/README.md @@ -38,6 +38,7 @@ basic tools instead. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Conversation with James Edward Gray II [https://twitter.com/jeg2](https://twitter.com/jeg2) diff --git a/exercises/sum-of-multiples/README.md b/exercises/sum-of-multiples/README.md index cab098804e..42ab560c7c 100644 --- a/exercises/sum-of-multiples/README.md +++ b/exercises/sum-of-multiples/README.md @@ -17,6 +17,7 @@ For more information, see [this page](https://docs.microsoft.com/en-us/dotnet/ar Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source A variation on Problem 1 at Project Euler [http://projecteuler.net/problem=1](http://projecteuler.net/problem=1) diff --git a/exercises/transpose/README.md b/exercises/transpose/README.md index 9af62800dc..499f08c19f 100644 --- a/exercises/transpose/README.md +++ b/exercises/transpose/README.md @@ -63,6 +63,7 @@ the corresponding output row should contain the spaces in its right-most column( Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Reddit r/dailyprogrammer challenge #270 [Easy]. [https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text](https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text) diff --git a/exercises/triangle/README.md b/exercises/triangle/README.md index 0ebf42ee25..be3cf1f242 100644 --- a/exercises/triangle/README.md +++ b/exercises/triangle/README.md @@ -27,6 +27,7 @@ a single line. Feel free to add your own code/tests to check for degenerate tria Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source The Ruby Koans triangle project, parts 1 & 2 [http://rubykoans.com](http://rubykoans.com) diff --git a/exercises/trinary/README.md b/exercises/trinary/README.md index 350d07135b..c476f1d604 100644 --- a/exercises/trinary/README.md +++ b/exercises/trinary/README.md @@ -26,6 +26,7 @@ conversion, pretend it doesn't exist and implement it yourself. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source All of Computer Science [http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-](http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-) diff --git a/exercises/twelve-days/README.md b/exercises/twelve-days/README.md index 3211dd85dc..e66ce9fe37 100644 --- a/exercises/twelve-days/README.md +++ b/exercises/twelve-days/README.md @@ -37,6 +37,7 @@ On the twelfth day of Christmas my true love gave to me, twelve Drummers Drummin Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [http://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song)](http://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song)) diff --git a/exercises/two-bucket/README.md b/exercises/two-bucket/README.md index 31c22f1be1..4fef6875e3 100644 --- a/exercises/two-bucket/README.md +++ b/exercises/two-bucket/README.md @@ -34,6 +34,7 @@ Written with <3 at [Fullstack Academy](http://www.fullstackacademy.com/) by [Lin Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Water Pouring Problem [http://demonstrations.wolfram.com/WaterPouringProblem/](http://demonstrations.wolfram.com/WaterPouringProblem/) diff --git a/exercises/two-fer/README.md b/exercises/two-fer/README.md index 888cdbc979..d70b7c3da4 100644 --- a/exercises/two-fer/README.md +++ b/exercises/two-fer/README.md @@ -17,6 +17,7 @@ If no name is given, the result should be "One for you, one for me." Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source [https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer) diff --git a/exercises/variable-length-quantity/README.md b/exercises/variable-length-quantity/README.md index 8369a0c7ac..e66af352d3 100644 --- a/exercises/variable-length-quantity/README.md +++ b/exercises/variable-length-quantity/README.md @@ -41,6 +41,7 @@ This exercise requires you to use bitwise operations. For more information, see Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source A poor Splice developer having to implement MIDI encoding/decoding. [https://splice.com](https://splice.com) diff --git a/exercises/word-count/README.md b/exercises/word-count/README.md index 67928b9e5f..b48f6ea90d 100644 --- a/exercises/word-count/README.md +++ b/exercises/word-count/README.md @@ -16,6 +16,7 @@ free: 1 Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour. diff --git a/exercises/wordy/README.md b/exercises/wordy/README.md index 8009cae4e4..927f0339cf 100644 --- a/exercises/wordy/README.md +++ b/exercises/wordy/README.md @@ -60,6 +60,7 @@ If you'd like, handle exponentials. Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Inspired by one of the generated questions in the Extreme Startup game. [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup) diff --git a/exercises/zebra-puzzle/README.md b/exercises/zebra-puzzle/README.md index 2db08db8ec..e2e0400c35 100644 --- a/exercises/zebra-puzzle/README.md +++ b/exercises/zebra-puzzle/README.md @@ -35,6 +35,7 @@ For more information, see [this page](https://xosfaere.wordpress.com/2010/03/21/ Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. + ## Source Wikipedia [https://en.wikipedia.org/wiki/Zebra_Puzzle](https://en.wikipedia.org/wiki/Zebra_Puzzle) From 2c118dae15278c951def6d14436e32ac62045184 Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Sun, 4 Feb 2018 13:18:00 -0700 Subject: [PATCH 5/6] Tweak exercise README template Since the template can refer to exercise-specific values, this updates the track-wide submission hint to use the actual name of the exercise directory. It also removes the example submit command, which seems redundant now. --- config/exercise_readme.go.tmpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/exercise_readme.go.tmpl b/config/exercise_readme.go.tmpl index 1d218e66a5..5e1a85b62f 100644 --- a/config/exercise_readme.go.tmpl +++ b/config/exercise_readme.go.tmpl @@ -6,9 +6,7 @@ {{ end }} ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/{{ .Spec.Slug }}` directory. {{ with .Spec.Credits }} ## Source From 889541b06ddc0ddae441ab7abde1cbc7270f1f83 Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Sun, 4 Feb 2018 13:18:27 -0700 Subject: [PATCH 6/6] Regenerate the exercise READMEs to use the updated template --- exercises/accumulate/README.md | 4 +--- exercises/acronym/README.md | 4 +--- exercises/all-your-base/README.md | 4 +--- exercises/allergies/README.md | 4 +--- exercises/alphametics/README.md | 4 +--- exercises/anagram/README.md | 4 +--- exercises/armstrong-numbers/README.md | 4 +--- exercises/atbash-cipher/README.md | 4 +--- exercises/bank-account/README.md | 4 +--- exercises/beer-song/README.md | 4 +--- exercises/binary-search-tree/README.md | 4 +--- exercises/binary-search/README.md | 4 +--- exercises/binary/README.md | 4 +--- exercises/bob/README.md | 4 +--- exercises/book-store/README.md | 4 +--- exercises/bowling/README.md | 4 +--- exercises/bracket-push/README.md | 4 +--- exercises/change/README.md | 4 +--- exercises/circular-buffer/README.md | 4 +--- exercises/clock/README.md | 4 +--- exercises/collatz-conjecture/README.md | 4 +--- exercises/complex-numbers/README.md | 4 +--- exercises/connect/README.md | 4 +--- exercises/crypto-square/README.md | 4 +--- exercises/custom-set/README.md | 4 +--- exercises/diamond/README.md | 4 +--- exercises/difference-of-squares/README.md | 4 +--- exercises/diffie-hellman/README.md | 4 +--- exercises/dominoes/README.md | 4 +--- exercises/dot-dsl/README.md | 4 +--- exercises/error-handling/README.md | 4 +--- exercises/etl/README.md | 4 +--- exercises/flatten-array/README.md | 4 +--- exercises/food-chain/README.md | 4 +--- exercises/forth/README.md | 4 +--- exercises/gigasecond/README.md | 4 +--- exercises/go-counting/README.md | 4 +--- exercises/grade-school/README.md | 4 +--- exercises/grains/README.md | 4 +--- exercises/grep/README.md | 4 +--- exercises/hamming/README.md | 4 +--- exercises/hangman/README.md | 4 +--- exercises/hello-world/README.md | 4 +--- exercises/hexadecimal/README.md | 4 +--- exercises/house/README.md | 4 +--- exercises/isbn-verifier/README.md | 4 +--- exercises/isogram/README.md | 4 +--- exercises/kindergarten-garden/README.md | 4 +--- exercises/largest-series-product/README.md | 4 +--- exercises/leap/README.md | 4 +--- exercises/ledger/README.md | 4 +--- exercises/linked-list/README.md | 4 +--- exercises/list-ops/README.md | 4 +--- exercises/luhn/README.md | 4 +--- exercises/markdown/README.md | 4 +--- exercises/matrix/README.md | 4 +--- exercises/meetup/README.md | 4 +--- exercises/minesweeper/README.md | 4 +--- exercises/nth-prime/README.md | 4 +--- exercises/nucleotide-count/README.md | 4 +--- exercises/ocr-numbers/README.md | 4 +--- exercises/octal/README.md | 4 +--- exercises/palindrome-products/README.md | 4 +--- exercises/pangram/README.md | 4 +--- exercises/parallel-letter-frequency/README.md | 4 +--- exercises/pascals-triangle/README.md | 4 +--- exercises/perfect-numbers/README.md | 4 +--- exercises/phone-number/README.md | 4 +--- exercises/pig-latin/README.md | 4 +--- exercises/poker/README.md | 4 +--- exercises/pov/README.md | 4 +--- exercises/prime-factors/README.md | 4 +--- exercises/protein-translation/README.md | 4 +--- exercises/proverb/README.md | 4 +--- exercises/pythagorean-triplet/README.md | 4 +--- exercises/queen-attack/README.md | 4 +--- exercises/rail-fence-cipher/README.md | 4 +--- exercises/raindrops/README.md | 4 +--- exercises/react/README.md | 4 +--- exercises/rectangles/README.md | 4 +--- exercises/reverse-string/README.md | 4 +--- exercises/rna-transcription/README.md | 4 +--- exercises/robot-name/README.md | 4 +--- exercises/robot-simulator/README.md | 4 +--- exercises/roman-numerals/README.md | 4 +--- exercises/rotational-cipher/README.md | 4 +--- exercises/run-length-encoding/README.md | 4 +--- exercises/saddle-points/README.md | 4 +--- exercises/say/README.md | 4 +--- exercises/scale-generator/README.md | 4 +--- exercises/scrabble-score/README.md | 4 +--- exercises/secret-handshake/README.md | 4 +--- exercises/series/README.md | 4 +--- exercises/sgf-parsing/README.md | 4 +--- exercises/sieve/README.md | 4 +--- exercises/simple-cipher/README.md | 4 +--- exercises/simple-linked-list/README.md | 4 +--- exercises/space-age/README.md | 4 +--- exercises/spiral-matrix/README.md | 4 +--- exercises/strain/README.md | 4 +--- exercises/sublist/README.md | 4 +--- exercises/sum-of-multiples/README.md | 4 +--- exercises/tournament/README.md | 4 +--- exercises/transpose/README.md | 4 +--- exercises/tree-building/README.md | 4 +--- exercises/triangle/README.md | 4 +--- exercises/trinary/README.md | 4 +--- exercises/twelve-days/README.md | 4 +--- exercises/two-bucket/README.md | 4 +--- exercises/two-fer/README.md | 4 +--- exercises/variable-length-quantity/README.md | 4 +--- exercises/word-count/README.md | 4 +--- exercises/word-search/README.md | 4 +--- exercises/wordy/README.md | 4 +--- exercises/zebra-puzzle/README.md | 4 +--- exercises/zipper/README.md | 4 +--- 116 files changed, 116 insertions(+), 348 deletions(-) diff --git a/exercises/accumulate/README.md b/exercises/accumulate/README.md index f8e92168bf..873a7241c6 100644 --- a/exercises/accumulate/README.md +++ b/exercises/accumulate/README.md @@ -30,9 +30,7 @@ This exercise requires you to write an extension method. For more information, s ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/accumulate` directory. ## Source diff --git a/exercises/acronym/README.md b/exercises/acronym/README.md index 1b153cd36a..906d27ee7f 100644 --- a/exercises/acronym/README.md +++ b/exercises/acronym/README.md @@ -9,9 +9,7 @@ like Portable Network Graphics to its acronym (PNG). ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/acronym` directory. ## Source diff --git a/exercises/all-your-base/README.md b/exercises/all-your-base/README.md index 56f14e670e..c5ae5e0bfb 100644 --- a/exercises/all-your-base/README.md +++ b/exercises/all-your-base/README.md @@ -33,9 +33,7 @@ I think you got the idea! ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/all-your-base` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/allergies/README.md b/exercises/allergies/README.md index 66110c3a28..cac4ec70d1 100644 --- a/exercises/allergies/README.md +++ b/exercises/allergies/README.md @@ -34,9 +34,7 @@ This exercise requires you to use bitwise operations. For more information, see ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/allergies` directory. ## Source diff --git a/exercises/alphametics/README.md b/exercises/alphametics/README.md index b75a580261..2c1fc4fd4d 100644 --- a/exercises/alphametics/README.md +++ b/exercises/alphametics/README.md @@ -40,9 +40,7 @@ Try to find a more sophisticated solution. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/alphametics` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/anagram/README.md b/exercises/anagram/README.md index 74bc68eb94..e7d81d7fd8 100644 --- a/exercises/anagram/README.md +++ b/exercises/anagram/README.md @@ -8,9 +8,7 @@ Given `"listen"` and a list of candidates like `"enlists" "google" ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/anagram` directory. ## Source diff --git a/exercises/armstrong-numbers/README.md b/exercises/armstrong-numbers/README.md index 4311295786..b907884682 100644 --- a/exercises/armstrong-numbers/README.md +++ b/exercises/armstrong-numbers/README.md @@ -13,9 +13,7 @@ Write some code to determine whether a number is an Armstrong number. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/armstrong-numbers` directory. ## Source diff --git a/exercises/atbash-cipher/README.md b/exercises/atbash-cipher/README.md index 7f90b188d7..6b656221ff 100644 --- a/exercises/atbash-cipher/README.md +++ b/exercises/atbash-cipher/README.md @@ -30,9 +30,7 @@ things based on word boundaries. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/atbash-cipher` directory. ## Source diff --git a/exercises/bank-account/README.md b/exercises/bank-account/README.md index 2387245d4e..c670a2b55a 100644 --- a/exercises/bank-account/README.md +++ b/exercises/bank-account/README.md @@ -33,9 +33,7 @@ Note though that you then only store the numeric value of a currency. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/bank-account` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/beer-song/README.md b/exercises/beer-song/README.md index b5111bcaaf..f66b2010f9 100644 --- a/exercises/beer-song/README.md +++ b/exercises/beer-song/README.md @@ -325,9 +325,7 @@ experiment make the code better? Worse? Did you learn anything from it? ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/beer-song` directory. ## Source diff --git a/exercises/binary-search-tree/README.md b/exercises/binary-search-tree/README.md index a6b726260a..d1cdbe54c9 100644 --- a/exercises/binary-search-tree/README.md +++ b/exercises/binary-search-tree/README.md @@ -55,9 +55,7 @@ And if we then added 1, 5, and 7, it would look like this ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/binary-search-tree` directory. ## Source diff --git a/exercises/binary-search/README.md b/exercises/binary-search/README.md index 36e6a85173..6d0fe58d4c 100644 --- a/exercises/binary-search/README.md +++ b/exercises/binary-search/README.md @@ -36,9 +36,7 @@ A binary search is a dichotomic divide and conquer search algorithm. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/binary-search` directory. ## Source diff --git a/exercises/binary/README.md b/exercises/binary/README.md index 54e566979e..dddf58e389 100644 --- a/exercises/binary/README.md +++ b/exercises/binary/README.md @@ -32,9 +32,7 @@ So: `101 => 1*2^2 + 0*2^1 + 1*2^0 => 1*4 + 0*2 + 1*1 => 4 + 1 => 5 base 10`. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/binary` directory. ## Source diff --git a/exercises/bob/README.md b/exercises/bob/README.md index b1a125b605..8d9a6ce521 100644 --- a/exercises/bob/README.md +++ b/exercises/bob/README.md @@ -15,9 +15,7 @@ He answers 'Whatever.' to anything else. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/bob` directory. ## Source diff --git a/exercises/book-store/README.md b/exercises/book-store/README.md index d392633c0f..4b2b2134c3 100644 --- a/exercises/book-store/README.md +++ b/exercises/book-store/README.md @@ -69,9 +69,7 @@ And $51.20 is the price with the biggest discount. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/book-store` directory. ## Source diff --git a/exercises/bowling/README.md b/exercises/bowling/README.md index ce4046a6bb..4e1d6010fe 100644 --- a/exercises/bowling/README.md +++ b/exercises/bowling/README.md @@ -62,9 +62,7 @@ support two operations: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/bowling` directory. ## Source diff --git a/exercises/bracket-push/README.md b/exercises/bracket-push/README.md index 239ada8e7c..814f182a41 100644 --- a/exercises/bracket-push/README.md +++ b/exercises/bracket-push/README.md @@ -5,9 +5,7 @@ verify that all the pairs are matched and nested correctly. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/bracket-push` directory. ## Source diff --git a/exercises/change/README.md b/exercises/change/README.md index 0ef319554b..690dd2cc4b 100644 --- a/exercises/change/README.md +++ b/exercises/change/README.md @@ -18,9 +18,7 @@ that the sum of the coins' value would equal the correct amount of change. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/change` directory. ## Source diff --git a/exercises/circular-buffer/README.md b/exercises/circular-buffer/README.md index 10e032a604..6ec0f78ead 100644 --- a/exercises/circular-buffer/README.md +++ b/exercises/circular-buffer/README.md @@ -52,9 +52,7 @@ the buffer is once again full. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/circular-buffer` directory. ## Source diff --git a/exercises/clock/README.md b/exercises/clock/README.md index d9da7790d7..4a9f614a9b 100644 --- a/exercises/clock/README.md +++ b/exercises/clock/README.md @@ -14,9 +14,7 @@ For more information, see [this page] ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/clock` directory. ## Source diff --git a/exercises/collatz-conjecture/README.md b/exercises/collatz-conjecture/README.md index c7f4941e35..0a5aede047 100644 --- a/exercises/collatz-conjecture/README.md +++ b/exercises/collatz-conjecture/README.md @@ -28,9 +28,7 @@ Resulting in 9 steps. So for input n = 12, the return value would be 9. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/collatz-conjecture` directory. ## Source diff --git a/exercises/complex-numbers/README.md b/exercises/complex-numbers/README.md index ed840108dc..6b7d96b0a9 100644 --- a/exercises/complex-numbers/README.md +++ b/exercises/complex-numbers/README.md @@ -33,9 +33,7 @@ Assume the programming language you are using does not have an implementation of ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/complex-numbers` directory. ## Source diff --git a/exercises/connect/README.md b/exercises/connect/README.md index ddc3f98f37..b6f45f2aaf 100644 --- a/exercises/connect/README.md +++ b/exercises/connect/README.md @@ -32,9 +32,7 @@ won since `O` didn't connect top and bottom. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/connect` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/crypto-square/README.md b/exercises/crypto-square/README.md index df67a978ad..e21fc4dfd1 100644 --- a/exercises/crypto-square/README.md +++ b/exercises/crypto-square/README.md @@ -71,9 +71,7 @@ sseoau ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/crypto-square` directory. ## Source diff --git a/exercises/custom-set/README.md b/exercises/custom-set/README.md index 1fa9befe6a..ead1577fa0 100644 --- a/exercises/custom-set/README.md +++ b/exercises/custom-set/README.md @@ -15,9 +15,7 @@ For more information, see [this page] ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/custom-set` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/diamond/README.md b/exercises/diamond/README.md index e61ebdd95a..dafcf0a8db 100644 --- a/exercises/diamond/README.md +++ b/exercises/diamond/README.md @@ -66,9 +66,7 @@ If you would like more information on property-based testing, see [this article] ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/diamond` directory. ## Source diff --git a/exercises/difference-of-squares/README.md b/exercises/difference-of-squares/README.md index 339d5cb73a..fc21027300 100644 --- a/exercises/difference-of-squares/README.md +++ b/exercises/difference-of-squares/README.md @@ -19,9 +19,7 @@ For more information, see [this page] ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/difference-of-squares` directory. ## Source diff --git a/exercises/diffie-hellman/README.md b/exercises/diffie-hellman/README.md index c806a24541..31ba37fe7c 100644 --- a/exercises/diffie-hellman/README.md +++ b/exercises/diffie-hellman/README.md @@ -44,9 +44,7 @@ This exercise requires you to perform calculations on large numbers. To correctl ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/diffie-hellman` directory. ## Source diff --git a/exercises/dominoes/README.md b/exercises/dominoes/README.md index acb9194728..7faf09fc44 100644 --- a/exercises/dominoes/README.md +++ b/exercises/dominoes/README.md @@ -16,9 +16,7 @@ Some test cases may use duplicate stones in a chain solution, assume that multip ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/dominoes` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/dot-dsl/README.md b/exercises/dot-dsl/README.md index cb2b598b4c..0ae29216a3 100644 --- a/exercises/dot-dsl/README.md +++ b/exercises/dot-dsl/README.md @@ -29,9 +29,7 @@ This exercise requires you to implement classes with a custom equality check. Fo ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/dot-dsl` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/error-handling/README.md b/exercises/error-handling/README.md index 9ed735a5ea..fe7bcae658 100644 --- a/exercises/error-handling/README.md +++ b/exercises/error-handling/README.md @@ -11,9 +11,7 @@ for your track to see what's exactly required. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/error-handling` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/etl/README.md b/exercises/etl/README.md index b5f9eaa8db..216b15ec13 100644 --- a/exercises/etl/README.md +++ b/exercises/etl/README.md @@ -48,9 +48,7 @@ game while being scored at 4 in the Hawaiian-language version. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/etl` directory. ## Source diff --git a/exercises/flatten-array/README.md b/exercises/flatten-array/README.md index 0108271660..6b18b966d0 100644 --- a/exercises/flatten-array/README.md +++ b/exercises/flatten-array/README.md @@ -12,9 +12,7 @@ output: [1,2,3,4,5] ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/flatten-array` directory. ## Source diff --git a/exercises/food-chain/README.md b/exercises/food-chain/README.md index 5ebb69201c..db4a96dbba 100644 --- a/exercises/food-chain/README.md +++ b/exercises/food-chain/README.md @@ -69,9 +69,7 @@ She's dead, of course! ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/food-chain` directory. ## Source diff --git a/exercises/forth/README.md b/exercises/forth/README.md index e679c2bd07..9c2057dc0f 100644 --- a/exercises/forth/README.md +++ b/exercises/forth/README.md @@ -31,9 +31,7 @@ Words are case-insensitive. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/forth` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/gigasecond/README.md b/exercises/gigasecond/README.md index 754f18f423..ff535402c5 100644 --- a/exercises/gigasecond/README.md +++ b/exercises/gigasecond/README.md @@ -6,9 +6,7 @@ A gigasecond is 10^9 (1,000,000,000) seconds. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/gigasecond` directory. ## Source diff --git a/exercises/go-counting/README.md b/exercises/go-counting/README.md index 4d1661ded0..18de4e4a79 100644 --- a/exercises/go-counting/README.md +++ b/exercises/go-counting/README.md @@ -35,9 +35,7 @@ Library](http://senseis.xmp.net/). ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/go-counting` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/grade-school/README.md b/exercises/grade-school/README.md index 208bbd757f..262bb727c1 100644 --- a/exercises/grade-school/README.md +++ b/exercises/grade-school/README.md @@ -36,9 +36,7 @@ experiment make the code better? Worse? Did you learn anything from it? ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/grade-school` directory. ## Source diff --git a/exercises/grains/README.md b/exercises/grains/README.md index 89e8b47b51..dbf88f934d 100644 --- a/exercises/grains/README.md +++ b/exercises/grains/README.md @@ -28,9 +28,7 @@ experiment make the code better? Worse? Did you learn anything from it? ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/grains` directory. ## Source diff --git a/exercises/grep/README.md b/exercises/grep/README.md index a52e91e2e1..544c3beeb3 100644 --- a/exercises/grep/README.md +++ b/exercises/grep/README.md @@ -66,9 +66,7 @@ print the names of files that do not contain the string "hello". ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/grep` directory. ## Source diff --git a/exercises/hamming/README.md b/exercises/hamming/README.md index a11f8291a1..4a21a5379f 100644 --- a/exercises/hamming/README.md +++ b/exercises/hamming/README.md @@ -37,9 +37,7 @@ of equal length differently. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/hamming` directory. ## Source diff --git a/exercises/hangman/README.md b/exercises/hangman/README.md index feddbba1e9..8896bb821a 100644 --- a/exercises/hangman/README.md +++ b/exercises/hangman/README.md @@ -24,9 +24,7 @@ This exercise requires you to work with events. For more information, see [this ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/hangman` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/hello-world/README.md b/exercises/hello-world/README.md index 4a5973883e..07190989df 100644 --- a/exercises/hello-world/README.md +++ b/exercises/hello-world/README.md @@ -16,9 +16,7 @@ If everything goes well, you will be ready to fetch your first real exercise. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/hello-world` directory. ## Source diff --git a/exercises/hexadecimal/README.md b/exercises/hexadecimal/README.md index e2a1eb20ba..3c289bafdc 100644 --- a/exercises/hexadecimal/README.md +++ b/exercises/hexadecimal/README.md @@ -9,9 +9,7 @@ The program should handle invalid hexadecimal strings. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/hexadecimal` directory. ## Source diff --git a/exercises/house/README.md b/exercises/house/README.md index 407cac1f42..404c6e29ca 100644 --- a/exercises/house/README.md +++ b/exercises/house/README.md @@ -111,9 +111,7 @@ Try to capture the structure of the song in your code, where you build up the so ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/house` directory. ## Source diff --git a/exercises/isbn-verifier/README.md b/exercises/isbn-verifier/README.md index 3a96c4412e..f6470323e9 100644 --- a/exercises/isbn-verifier/README.md +++ b/exercises/isbn-verifier/README.md @@ -42,9 +42,7 @@ Now, it's even trickier since the check digit of an ISBN-10 may be 'X' (represen * Generate valid ISBN, maybe even from a given starting ISBN. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/isbn-verifier` directory. ## Source diff --git a/exercises/isogram/README.md b/exercises/isogram/README.md index 3aaf5d0371..2a67ef4c71 100644 --- a/exercises/isogram/README.md +++ b/exercises/isogram/README.md @@ -15,9 +15,7 @@ The word *isograms*, however, is not an isogram, because the s repeats. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/isogram` directory. ## Source diff --git a/exercises/kindergarten-garden/README.md b/exercises/kindergarten-garden/README.md index f624a11840..4f2bfc5311 100644 --- a/exercises/kindergarten-garden/README.md +++ b/exercises/kindergarten-garden/README.md @@ -61,9 +61,7 @@ While asking for Bob's plants would yield: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/kindergarten-garden` directory. ## Source diff --git a/exercises/largest-series-product/README.md b/exercises/largest-series-product/README.md index 04ef1ca614..75f59d79ad 100644 --- a/exercises/largest-series-product/README.md +++ b/exercises/largest-series-product/README.md @@ -15,9 +15,7 @@ the largest product for a series of 6 digits is 23520. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/largest-series-product` directory. ## Source diff --git a/exercises/leap/README.md b/exercises/leap/README.md index 704956519d..775fee75bb 100644 --- a/exercises/leap/README.md +++ b/exercises/leap/README.md @@ -28,9 +28,7 @@ phenomenon, go watch [this youtube video][video]. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/leap` directory. ## Source diff --git a/exercises/ledger/README.md b/exercises/ledger/README.md index a242128758..872a8da7f3 100644 --- a/exercises/ledger/README.md +++ b/exercises/ledger/README.md @@ -16,9 +16,7 @@ containing that log, this will help reviewers. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/ledger` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/linked-list/README.md b/exercises/linked-list/README.md index b68b3fe330..77c6d4ae00 100644 --- a/exercises/linked-list/README.md +++ b/exercises/linked-list/README.md @@ -29,9 +29,7 @@ If you want to know more about linked lists, check [Wikipedia](https://en.wikipe ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/linked-list` directory. ## Source diff --git a/exercises/list-ops/README.md b/exercises/list-ops/README.md index 26fcb813b8..896898de71 100644 --- a/exercises/list-ops/README.md +++ b/exercises/list-ops/README.md @@ -11,9 +11,7 @@ The `Foldl` and `Foldr` methods are "fold" functions, which is a concept well-kn ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/list-ops` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/luhn/README.md b/exercises/luhn/README.md index bb8db5d9db..9acc887b43 100644 --- a/exercises/luhn/README.md +++ b/exercises/luhn/README.md @@ -66,9 +66,7 @@ Sum the digits ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/luhn` directory. ## Source diff --git a/exercises/markdown/README.md b/exercises/markdown/README.md index 6ecc98207c..d6d8e4a0b5 100644 --- a/exercises/markdown/README.md +++ b/exercises/markdown/README.md @@ -20,9 +20,7 @@ For this exercise the following C# feature comes in handy: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/markdown` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/matrix/README.md b/exercises/matrix/README.md index 485ea64d30..ae9699ff3b 100644 --- a/exercises/matrix/README.md +++ b/exercises/matrix/README.md @@ -42,9 +42,7 @@ And its columns: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/matrix` directory. ## Source diff --git a/exercises/meetup/README.md b/exercises/meetup/README.md index a91722d195..c88e0895b4 100644 --- a/exercises/meetup/README.md +++ b/exercises/meetup/README.md @@ -28,9 +28,7 @@ descriptor calculate the date of the actual meetup. For example, if given ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/meetup` directory. ## Source diff --git a/exercises/minesweeper/README.md b/exercises/minesweeper/README.md index d6b497f8c4..af13a13dc5 100644 --- a/exercises/minesweeper/README.md +++ b/exercises/minesweeper/README.md @@ -28,9 +28,7 @@ into this: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/minesweeper` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/nth-prime/README.md b/exercises/nth-prime/README.md index 86cad5525b..fcb0f9572c 100644 --- a/exercises/nth-prime/README.md +++ b/exercises/nth-prime/README.md @@ -18,9 +18,7 @@ Note: to help speedup calculation, you should not check numbers which you know b ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/nth-prime` directory. ## Source diff --git a/exercises/nucleotide-count/README.md b/exercises/nucleotide-count/README.md index 0360eeab89..2030439ece 100644 --- a/exercises/nucleotide-count/README.md +++ b/exercises/nucleotide-count/README.md @@ -18,9 +18,7 @@ This exercise requires the use of a Dictionary. For more information see ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/nucleotide-count` directory. ## Source diff --git a/exercises/ocr-numbers/README.md b/exercises/ocr-numbers/README.md index 851757dc8d..77dc95e962 100644 --- a/exercises/ocr-numbers/README.md +++ b/exercises/ocr-numbers/README.md @@ -80,9 +80,7 @@ Is converted to "123,456,789" ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/ocr-numbers` directory. ## Source diff --git a/exercises/octal/README.md b/exercises/octal/README.md index c960622f3d..109f59a3ca 100644 --- a/exercises/octal/README.md +++ b/exercises/octal/README.md @@ -48,9 +48,7 @@ So: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/octal` directory. ## Source diff --git a/exercises/palindrome-products/README.md b/exercises/palindrome-products/README.md index 9dba17eb06..7b86e78d49 100644 --- a/exercises/palindrome-products/README.md +++ b/exercises/palindrome-products/README.md @@ -39,9 +39,7 @@ For more information on tuples, see [this link](https://msdn.microsoft.com/en-us ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/palindrome-products` directory. ## Source diff --git a/exercises/pangram/README.md b/exercises/pangram/README.md index 9ce2822217..14088739e7 100644 --- a/exercises/pangram/README.md +++ b/exercises/pangram/README.md @@ -10,9 +10,7 @@ insensitive. Input will not contain non-ASCII symbols. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/pangram` directory. ## Source diff --git a/exercises/parallel-letter-frequency/README.md b/exercises/parallel-letter-frequency/README.md index 46c85c26a8..199384e17f 100644 --- a/exercises/parallel-letter-frequency/README.md +++ b/exercises/parallel-letter-frequency/README.md @@ -9,9 +9,7 @@ list of texts and that employs parallelism. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/parallel-letter-frequency` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/pascals-triangle/README.md b/exercises/pascals-triangle/README.md index 8e2df3e53c..da3b8aa4ef 100644 --- a/exercises/pascals-triangle/README.md +++ b/exercises/pascals-triangle/README.md @@ -16,9 +16,7 @@ the right and left of the current position in the previous row. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/pascals-triangle` directory. ## Source diff --git a/exercises/perfect-numbers/README.md b/exercises/perfect-numbers/README.md index 6b19f68312..a237132093 100644 --- a/exercises/perfect-numbers/README.md +++ b/exercises/perfect-numbers/README.md @@ -19,9 +19,7 @@ Implement a way to determine whether a given number is **perfect**. Depending on ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/perfect-numbers` directory. ## Source diff --git a/exercises/phone-number/README.md b/exercises/phone-number/README.md index d570536319..e471ed2369 100644 --- a/exercises/phone-number/README.md +++ b/exercises/phone-number/README.md @@ -30,9 +30,7 @@ should all produce the output ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/phone-number` directory. ## Source diff --git a/exercises/pig-latin/README.md b/exercises/pig-latin/README.md index 5a6c9f8f20..4a8381e413 100644 --- a/exercises/pig-latin/README.md +++ b/exercises/pig-latin/README.md @@ -19,9 +19,7 @@ See for more details. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/pig-latin` directory. ## Source diff --git a/exercises/poker/README.md b/exercises/poker/README.md index ca9dc8326a..43f0f189bb 100644 --- a/exercises/poker/README.md +++ b/exercises/poker/README.md @@ -7,9 +7,7 @@ overview of poker hands. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/poker` directory. ## Source diff --git a/exercises/pov/README.md b/exercises/pov/README.md index 528d4305e2..63f730ad7d 100644 --- a/exercises/pov/README.md +++ b/exercises/pov/README.md @@ -39,9 +39,7 @@ of view of one of the nodes. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/pov` directory. ## Source diff --git a/exercises/prime-factors/README.md b/exercises/prime-factors/README.md index dac06764fc..c2b3c16885 100644 --- a/exercises/prime-factors/README.md +++ b/exercises/prime-factors/README.md @@ -31,9 +31,7 @@ You can check this yourself: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/prime-factors` directory. ## Source diff --git a/exercises/protein-translation/README.md b/exercises/protein-translation/README.md index b45971ee6f..e7ee0a243d 100644 --- a/exercises/protein-translation/README.md +++ b/exercises/protein-translation/README.md @@ -43,9 +43,7 @@ Learn more about [protein translation on Wikipedia](http://en.wikipedia.org/wiki ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/protein-translation` directory. ## Source diff --git a/exercises/proverb/README.md b/exercises/proverb/README.md index 96b3566291..01cbd1df98 100644 --- a/exercises/proverb/README.md +++ b/exercises/proverb/README.md @@ -22,9 +22,7 @@ Try to capture the structure of the song in your code, where you build up the so ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/proverb` directory. ## Source diff --git a/exercises/pythagorean-triplet/README.md b/exercises/pythagorean-triplet/README.md index 60eb4a0a46..f49e2aabab 100644 --- a/exercises/pythagorean-triplet/README.md +++ b/exercises/pythagorean-triplet/README.md @@ -19,9 +19,7 @@ Find the product a * b * c. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/pythagorean-triplet` directory. ## Source diff --git a/exercises/queen-attack/README.md b/exercises/queen-attack/README.md index 6494db4dc1..313139a512 100644 --- a/exercises/queen-attack/README.md +++ b/exercises/queen-attack/README.md @@ -28,9 +28,7 @@ share a diagonal. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/queen-attack` directory. ## Source diff --git a/exercises/rail-fence-cipher/README.md b/exercises/rail-fence-cipher/README.md index 65495bc423..d3bd0782f4 100644 --- a/exercises/rail-fence-cipher/README.md +++ b/exercises/rail-fence-cipher/README.md @@ -60,9 +60,7 @@ If you now read along the zig-zag shape you can read the original message. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/rail-fence-cipher` directory. ## Source diff --git a/exercises/raindrops/README.md b/exercises/raindrops/README.md index 4decaff424..9bb26592d5 100644 --- a/exercises/raindrops/README.md +++ b/exercises/raindrops/README.md @@ -19,9 +19,7 @@ Convert a number to a string, the contents of which depend on the number's facto ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/raindrops` directory. ## Source diff --git a/exercises/react/README.md b/exercises/react/README.md index 05e6eb4904..621ee0c4bb 100644 --- a/exercises/react/README.md +++ b/exercises/react/README.md @@ -21,9 +21,7 @@ In this exercise the following C# feature is used: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/react` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/rectangles/README.md b/exercises/rectangles/README.md index b477611796..7cfb6034f9 100644 --- a/exercises/rectangles/README.md +++ b/exercises/rectangles/README.md @@ -65,9 +65,7 @@ every line equals the length of the first line). ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/rectangles` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/reverse-string/README.md b/exercises/reverse-string/README.md index 31f9c4fce8..c3890c8290 100644 --- a/exercises/reverse-string/README.md +++ b/exercises/reverse-string/README.md @@ -8,9 +8,7 @@ output: "looc" ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/reverse-string` directory. ## Source diff --git a/exercises/rna-transcription/README.md b/exercises/rna-transcription/README.md index a61df02dfa..de2afe2240 100644 --- a/exercises/rna-transcription/README.md +++ b/exercises/rna-transcription/README.md @@ -20,9 +20,7 @@ each nucleotide with its complement: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/rna-transcription` directory. ## Source diff --git a/exercises/robot-name/README.md b/exercises/robot-name/README.md index 1b6c5ae377..4f23a27f15 100644 --- a/exercises/robot-name/README.md +++ b/exercises/robot-name/README.md @@ -17,9 +17,7 @@ every existing robot has a unique name. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/robot-name` directory. ## Source diff --git a/exercises/robot-simulator/README.md b/exercises/robot-simulator/README.md index 67ef172320..81e5c94ad3 100644 --- a/exercises/robot-simulator/README.md +++ b/exercises/robot-simulator/README.md @@ -29,9 +29,7 @@ direction it is pointing. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/robot-simulator` directory. ## Source diff --git a/exercises/roman-numerals/README.md b/exercises/roman-numerals/README.md index b9bc19c14c..690519c878 100644 --- a/exercises/roman-numerals/README.md +++ b/exercises/roman-numerals/README.md @@ -48,9 +48,7 @@ This exercise requires you to write an extension method. For more information, s ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/roman-numerals` directory. ## Source diff --git a/exercises/rotational-cipher/README.md b/exercises/rotational-cipher/README.md index 50d55e3a26..16fbf0ad04 100644 --- a/exercises/rotational-cipher/README.md +++ b/exercises/rotational-cipher/README.md @@ -32,9 +32,7 @@ Ciphertext is written out in the same formatting as the input including spaces a ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/rotational-cipher` directory. ## Source diff --git a/exercises/run-length-encoding/README.md b/exercises/run-length-encoding/README.md index 59d9c8a899..00401dd647 100644 --- a/exercises/run-length-encoding/README.md +++ b/exercises/run-length-encoding/README.md @@ -25,9 +25,7 @@ be decoded always represent the count for the following character. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/run-length-encoding` directory. ## Source diff --git a/exercises/saddle-points/README.md b/exercises/saddle-points/README.md index a7521eda4f..1eb2a6b7c6 100644 --- a/exercises/saddle-points/README.md +++ b/exercises/saddle-points/README.md @@ -33,9 +33,7 @@ For more information on tuples, see [this link](https://msdn.microsoft.com/en-us ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/saddle-points` directory. ## Source diff --git a/exercises/say/README.md b/exercises/say/README.md index f16623dcf6..17f84c4086 100644 --- a/exercises/say/README.md +++ b/exercises/say/README.md @@ -64,9 +64,7 @@ Use _and_ (correctly) when spelling out the number in English: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/say` directory. ## Source diff --git a/exercises/scale-generator/README.md b/exercises/scale-generator/README.md index d34b763ad5..e102b11f46 100644 --- a/exercises/scale-generator/README.md +++ b/exercises/scale-generator/README.md @@ -57,9 +57,7 @@ Here is a table of pitches with the names of their interval distance from the to ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/scale-generator` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/scrabble-score/README.md b/exercises/scrabble-score/README.md index 28d78e73ec..b1f1eadfac 100644 --- a/exercises/scrabble-score/README.md +++ b/exercises/scrabble-score/README.md @@ -41,9 +41,7 @@ And to total: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/scrabble-score` directory. ## Source diff --git a/exercises/secret-handshake/README.md b/exercises/secret-handshake/README.md index f5a7e8cbb1..870b4e65ab 100644 --- a/exercises/secret-handshake/README.md +++ b/exercises/secret-handshake/README.md @@ -30,9 +30,7 @@ has caused the array to be reversed. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/secret-handshake` directory. ## Source diff --git a/exercises/series/README.md b/exercises/series/README.md index f970f682f5..7f1f162e00 100644 --- a/exercises/series/README.md +++ b/exercises/series/README.md @@ -22,9 +22,7 @@ in the input; the digits need not be *numerically consecutive*. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/series` directory. ## Source diff --git a/exercises/sgf-parsing/README.md b/exercises/sgf-parsing/README.md index 0d3f97633d..a92a543929 100644 --- a/exercises/sgf-parsing/README.md +++ b/exercises/sgf-parsing/README.md @@ -70,9 +70,7 @@ data types of properties, just use the rules for the ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/sgf-parsing` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/sieve/README.md b/exercises/sieve/README.md index a69a830714..e8d0670763 100644 --- a/exercises/sieve/README.md +++ b/exercises/sieve/README.md @@ -29,9 +29,7 @@ correct list of primes. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/sieve` directory. ## Source diff --git a/exercises/simple-cipher/README.md b/exercises/simple-cipher/README.md index 28ae5985dd..3501f00019 100644 --- a/exercises/simple-cipher/README.md +++ b/exercises/simple-cipher/README.md @@ -83,9 +83,7 @@ on Wikipedia][dh] for one of the first implementations of this scheme. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/simple-cipher` directory. ## Source diff --git a/exercises/simple-linked-list/README.md b/exercises/simple-linked-list/README.md index 2c4a915a00..7e77ac8fdd 100644 --- a/exercises/simple-linked-list/README.md +++ b/exercises/simple-linked-list/README.md @@ -27,9 +27,7 @@ For more information, see [this page](https://msdn.microsoft.com/en-us/library/9 ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/simple-linked-list` directory. ## Source diff --git a/exercises/space-age/README.md b/exercises/space-age/README.md index 6148b6f997..1672c17761 100644 --- a/exercises/space-age/README.md +++ b/exercises/space-age/README.md @@ -19,9 +19,7 @@ youtube video](http://www.youtube.com/watch?v=Z_2gbGXzFbs). ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/space-age` directory. ## Source diff --git a/exercises/spiral-matrix/README.md b/exercises/spiral-matrix/README.md index 259a7c89c0..b044e23a8b 100644 --- a/exercises/spiral-matrix/README.md +++ b/exercises/spiral-matrix/README.md @@ -25,9 +25,7 @@ like these examples: ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/spiral-matrix` directory. ## Source diff --git a/exercises/strain/README.md b/exercises/strain/README.md index fc385131f0..34968f37cf 100644 --- a/exercises/strain/README.md +++ b/exercises/strain/README.md @@ -35,9 +35,7 @@ basic tools instead. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/strain` directory. ## Source diff --git a/exercises/sublist/README.md b/exercises/sublist/README.md index 1bca4bcef6..c27e53b32c 100644 --- a/exercises/sublist/README.md +++ b/exercises/sublist/README.md @@ -24,9 +24,7 @@ For more information, see [this page](https://msdn.microsoft.com/en-us/library/s ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/sublist` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/sum-of-multiples/README.md b/exercises/sum-of-multiples/README.md index 42ab560c7c..12775bc401 100644 --- a/exercises/sum-of-multiples/README.md +++ b/exercises/sum-of-multiples/README.md @@ -14,9 +14,7 @@ For more information, see [this page](https://docs.microsoft.com/en-us/dotnet/ar ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/sum-of-multiples` directory. ## Source diff --git a/exercises/tournament/README.md b/exercises/tournament/README.md index 0030585fbc..f866c7956f 100644 --- a/exercises/tournament/README.md +++ b/exercises/tournament/README.md @@ -66,9 +66,7 @@ Means that the Devastating Donkeys and Courageous Californians tied. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/tournament` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/transpose/README.md b/exercises/transpose/README.md index 499f08c19f..fba2de1ade 100644 --- a/exercises/transpose/README.md +++ b/exercises/transpose/README.md @@ -60,9 +60,7 @@ the corresponding output row should contain the spaces in its right-most column( ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/transpose` directory. ## Source diff --git a/exercises/tree-building/README.md b/exercises/tree-building/README.md index 2950dc65a2..a239cf1f5b 100644 --- a/exercises/tree-building/README.md +++ b/exercises/tree-building/README.md @@ -28,9 +28,7 @@ root (ID: 0, parent ID: 0) ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/tree-building` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/triangle/README.md b/exercises/triangle/README.md index be3cf1f242..b2e72c666c 100644 --- a/exercises/triangle/README.md +++ b/exercises/triangle/README.md @@ -24,9 +24,7 @@ a single line. Feel free to add your own code/tests to check for degenerate tria ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/triangle` directory. ## Source diff --git a/exercises/trinary/README.md b/exercises/trinary/README.md index c476f1d604..193dead5b4 100644 --- a/exercises/trinary/README.md +++ b/exercises/trinary/README.md @@ -23,9 +23,7 @@ conversion, pretend it doesn't exist and implement it yourself. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/trinary` directory. ## Source diff --git a/exercises/twelve-days/README.md b/exercises/twelve-days/README.md index e66ce9fe37..8f1dd40f35 100644 --- a/exercises/twelve-days/README.md +++ b/exercises/twelve-days/README.md @@ -34,9 +34,7 @@ On the twelfth day of Christmas my true love gave to me, twelve Drummers Drummin ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/twelve-days` directory. ## Source diff --git a/exercises/two-bucket/README.md b/exercises/two-bucket/README.md index 4fef6875e3..0571998373 100644 --- a/exercises/two-bucket/README.md +++ b/exercises/two-bucket/README.md @@ -31,9 +31,7 @@ Written with <3 at [Fullstack Academy](http://www.fullstackacademy.com/) by [Lin ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/two-bucket` directory. ## Source diff --git a/exercises/two-fer/README.md b/exercises/two-fer/README.md index d70b7c3da4..b67052f0ed 100644 --- a/exercises/two-fer/README.md +++ b/exercises/two-fer/README.md @@ -14,9 +14,7 @@ If no name is given, the result should be "One for you, one for me." ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/two-fer` directory. ## Source diff --git a/exercises/variable-length-quantity/README.md b/exercises/variable-length-quantity/README.md index e66af352d3..55802b21f2 100644 --- a/exercises/variable-length-quantity/README.md +++ b/exercises/variable-length-quantity/README.md @@ -38,9 +38,7 @@ This exercise requires you to use bitwise operations. For more information, see ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/variable-length-quantity` directory. ## Source diff --git a/exercises/word-count/README.md b/exercises/word-count/README.md index b48f6ea90d..ebd228a92b 100644 --- a/exercises/word-count/README.md +++ b/exercises/word-count/README.md @@ -13,9 +13,7 @@ free: 1 ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/word-count` directory. ## Source diff --git a/exercises/word-search/README.md b/exercises/word-search/README.md index cf17dc53ea..5b0e643b1f 100644 --- a/exercises/word-search/README.md +++ b/exercises/word-search/README.md @@ -35,9 +35,7 @@ For more information on Tuples, see [this link](https://msdn.microsoft.com/en-us ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/word-search` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise. diff --git a/exercises/wordy/README.md b/exercises/wordy/README.md index 927f0339cf..943f7930e6 100644 --- a/exercises/wordy/README.md +++ b/exercises/wordy/README.md @@ -57,9 +57,7 @@ If you'd like, handle exponentials. ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/wordy` directory. ## Source diff --git a/exercises/zebra-puzzle/README.md b/exercises/zebra-puzzle/README.md index e2e0400c35..766ac33a88 100644 --- a/exercises/zebra-puzzle/README.md +++ b/exercises/zebra-puzzle/README.md @@ -32,9 +32,7 @@ For more information, see [this page](https://xosfaere.wordpress.com/2010/03/21/ ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/zebra-puzzle` directory. ## Source diff --git a/exercises/zipper/README.md b/exercises/zipper/README.md index 43d3fd9c2f..54ee8a6a8f 100644 --- a/exercises/zipper/README.md +++ b/exercises/zipper/README.md @@ -33,9 +33,7 @@ This exercise deals with custom equality. For more information see [this page.]( ### Submitting Exercises -Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/` directory. - -For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit /csharp/bob/bob.cs`. +Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/zipper` directory. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.