Skip to content

Commit

Permalink
Replaced: judge.softuni.bg -> judge.softuni.org
Browse files Browse the repository at this point in the history
  • Loading branch information
nakov committed Feb 10, 2019
1 parent f2472da commit 870198f
Show file tree
Hide file tree
Showing 146 changed files with 174 additions and 174 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ Start the program with [**Ctrl+F5**] and check if the result is the same as the

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/503#1](https://judge.softuni.bg/Contests/Practice/Index/503#1).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/503#1](https://judge.softuni.org/Contests/Practice/Index/503#1).

![](/assets/chapter-1-images/02.Expression-03.png)
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Inside the `static void Main()` method write 20 commands `Console.WriteLine(…)

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/503\#2](https://judge.softuni.bg/Contests/Practice/Index/503#2).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/503\#2](https://judge.softuni.org/Contests/Practice/Index/503#2).

Now think whether we can write the program **a smarter way**, so we don't repeat the same command 20 times. Seek out information on the Internet about "[**for loop C\#**](https://www.google.com/search?q=for+loop+C%23&oq=for+loop+C%23)".

Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ Test your solution with a few examples. You have to get an output, similar to th

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/503\#4](https://judge.softuni.bg/Contests/Practice/Index/503#4).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/503\#4](https://judge.softuni.org/Contests/Practice/Index/503#4).

Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Finish the program above, so that it prints a square, made out of stars. It migh

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/503#5](https://judge.softuni.bg/Contests/Practice/Index/503#5).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/503#5](https://judge.softuni.org/Contests/Practice/Index/503#5).
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Console.WriteLine("**");

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/503\#3](https://judge.softuni.bg/Contests/Practice/Index/503#3).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/503\#3](https://judge.softuni.org/Contests/Practice/Index/503#3).

Try to **improve your solution**, so that it doesn't have many repeating commands. Could it be done with a `for` loop? Did you find a smart solution \(for example with a loop\) of the previous task? With this task you can also use something similar, but a bit more complex \(two loops, one inside the other\). If you don't succeed, there is no problem, we will be learning loops in a few chapters and you will be reminded of this task then.

Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ The message "**Press any key to continue . . .**" is displayed additionally on t

## Testing the Program in the Judge System

Testing of the problems in this book is automated and is done through the Internet, using the **Judge System**: [https://judge.softuni.bg](https://judge.softuni.bg) website. The evaluation of the tasks is done immediately by the system. Each task goes through a sequence of tests, as every successfully passed test gives the points assigned for it. The tests that are applied to the tasks are hidden.
Testing of the problems in this book is automated and is done through the Internet, using the **Judge System**: [https://judge.softuni.org](https://judge.softuni.org) website. The evaluation of the tasks is done immediately by the system. Each task goes through a sequence of tests, as every successfully passed test gives the points assigned for it. The tests that are applied to the tasks are hidden.

We can test the above program here: [https://judge.softuni.bg/Contests/Practice/Index/503\#0](https://judge.softuni.bg/Contests/Practice/Index/503#0). We place the source code from the program in the black field and we choose **C\# code**, the way it is shown:
We can test the above program here: [https://judge.softuni.org/Contests/Practice/Index/503\#0](https://judge.softuni.org/Contests/Practice/Index/503#0). We place the source code from the program in the black field and we choose **C\# code**, the way it is shown:

![](/assets/chapter-1-images/01.Hello-csharp-06.png)

Expand Down
2 changes: 1 addition & 1 deletion Content/Chapter-10-methods/exercises-methods/hello-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Define a method **`PrintName(string name)`** and implement it, after which read

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#7](https://judge.softuni.bg/Contests/Practice/Index/594#7).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#7](https://judge.softuni.org/Contests/Practice/Index/594#7).
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ static string IntegerToBase(int number, int toBase) {

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#11](https://judge.softuni.bg/Contests/Practice/Index/594#11).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#11](https://judge.softuni.org/Contests/Practice/Index/594#11).
2 changes: 1 addition & 1 deletion Content/Chapter-10-methods/exercises-methods/min-method.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ var min = GetMin(GetMin(num1, num2), num3);

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#8](https://judge.softuni.bg/Contests/Practice/Index/594#8).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#8](https://judge.softuni.org/Contests/Practice/Index/594#8).
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ In **`ReadAndProcessMessage()`** read the type of message from the console and a

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#12](https://judge.softuni.bg/Contests/Practice/Index/594#12).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#12](https://judge.softuni.org/Contests/Practice/Index/594#12).
2 changes: 1 addition & 1 deletion Content/Chapter-10-methods/exercises-methods/nth-digit.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ In order to do the algorithm use a **`while`** loop, until the given number equa

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#10](https://judge.softuni.bg/Contests/Practice/Index/594#10).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#10](https://judge.softuni.org/Contests/Practice/Index/594#10).
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ The third special case is when the number formed by the last two digits of the i

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594\#13](https://judge.softuni.bg/Contests/Practice/Index/594#13).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594\#13](https://judge.softuni.org/Contests/Practice/Index/594#13).
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ In order to find the first and the last digit of the ASCII code, we will use the

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#14](https://judge.softuni.bg/Contests/Practice/Index/594#14).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#14](https://judge.softuni.org/Contests/Practice/Index/594#14).
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Keep in mind that in C# concatenating strings in loops leads to bad productivity

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#9](https://judge.softuni.bg/Contests/Practice/Index/594#9).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#9](https://judge.softuni.org/Contests/Practice/Index/594#9).
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ The last step is to read the input data, to use the appropriate variables and to

### Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#6](https://judge.softuni.bg/Contests/Practice/Index/594#6).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#6](https://judge.softuni.org/Contests/Practice/Index/594#6).
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The next step is to read the input number and to call the new method from the bo

### Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#1](https://judge.softuni.bg/Contests/Practice/Index/594#1).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#1](https://judge.softuni.org/Contests/Practice/Index/594#1).

## Optional Parameters

Expand Down Expand Up @@ -92,7 +92,7 @@ In the end we print **the lower part** of the triangle, but this time the loop s

### Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#2](https://judge.softuni.bg/Contests/Practice/Index/594#2).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#2](https://judge.softuni.org/Contests/Practice/Index/594#2).

## Example: Draw a Filled Square

Expand Down Expand Up @@ -120,4 +120,4 @@ Finally, call the methods in the **`Main()`** method of the program in order to

### Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#3](https://judge.softuni.bg/Contests/Practice/Index/594#3).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#3](https://judge.softuni.org/Contests/Practice/Index/594#3).
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ The next step is to **call the new** method from the **`Main()`** method and to

### Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#4](https://judge.softuni.bg/Contests/Practice/Index/594#4).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#4](https://judge.softuni.org/Contests/Practice/Index/594#4).

## Example: Math Power

Expand All @@ -106,4 +106,4 @@ After we have done the calculations, we have to only print the result in the **`

### Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/594#5](https://judge.softuni.bg/Contests/Practice/Index/594#5).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/594#5](https://judge.softuni.org/Contests/Practice/Index/594#5).
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ In the end we'll **call** the **`PrintReceipt`** method from the body of the **`

### Testing in the Judge System

The program with five methods that are call from one another is ready and we can **run and test it**, after which we can send it for testing in the judge system: [https://judge.softuni.bg/Contests/Practice/Index/594#0](https://judge.softuni.bg/Contests/Practice/Index/594#0).
The program with five methods that are call from one another is ready and we can **run and test it**, after which we can send it for testing in the judge system: [https://judge.softuni.org/Contests/Practice/Index/594#0](https://judge.softuni.org/Contests/Practice/Index/594#0).
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ Write a program that enters **a birth date** in format `dd-MM-yyyy` and calculat

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#12](https://judge.softuni.bg/Contests/Practice/Index/504#12).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#12](https://judge.softuni.org/Contests/Practice/Index/504#12).
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Write a program that reads **degrees on Celsius scale** \(°C\) and converts the

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#8](https://judge.softuni.bg/Contests/Practice/Index/504#8).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#8](https://judge.softuni.org/Contests/Practice/Index/504#8).
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ For the calculations you may use the following formulas:

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504#5](https://judge.softuni.bg/Contests/Practice/Index/504#5).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504#5](https://judge.softuni.org/Contests/Practice/Index/504#5).
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ Next, the solution should be tested locally using \[**Ctrl+F5**\] and by enterin

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#3](https://judge.softuni.bg/Contests/Practice/Index/504#3).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#3](https://judge.softuni.org/Contests/Practice/Index/504#3).

Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ Write a program for **conversion of money from one currency into another**. It h

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504#11](https://judge.softuni.bg/Contests/Practice/Index/504#11).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504#11](https://judge.softuni.org/Contests/Practice/Index/504#11).
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ First, we create a **new C\# console project** with name “Greeting” in the s

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#2](https://judge.softuni.bg/Contests/Practice/Index/504#2).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#2](https://judge.softuni.org/Contests/Practice/Index/504#2).

Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ It is recommended to **change the settings of your computer** to use a **decimal

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504#1](https://judge.softuni.bg/Contests/Practice/Index/504#1).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504#1](https://judge.softuni.org/Contests/Practice/Index/504#1).

The solution should be accepted as a completely correct one:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Write a program, that reads **an angle in** [**radians**](https://en.wikipedia.o

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#9](https://judge.softuni.bg/Contests/Practice/Index/504#9).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#9](https://judge.softuni.org/Contests/Practice/Index/504#9).
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Watch the video lesson about calculating rectangle area: https://youtu.be/IHb_Tz

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504#6](https://judge.softuni.bg/Contests/Practice/Index/504#6).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504#6](https://judge.softuni.org/Contests/Practice/Index/504#6).
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The code inputs an integer through `a = int.Parse(Console.ReadLine())`, afterwar

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#0](https://judge.softuni.bg/Contests/Practice/Index/504#0). You have to get 100 points \(completely correct solution\):
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#0](https://judge.softuni.org/Contests/Practice/Index/504#0). You have to get 100 points \(completely correct solution\):

![](/assets/chapter-2-images/01.Square-area-05.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ The code in the picture is purposely blurred, in order for you to give it a thou

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#4](https://judge.softuni.bg/Contests/Practice/Index/504#4).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#4](https://judge.softuni.org/Contests/Practice/Index/504#4).

Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Write a program that reads from the console **a side and height of a triangle**

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504#7](https://judge.softuni.bg/Contests/Practice/Index/504#7).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504#7](https://judge.softuni.org/Contests/Practice/Index/504#7).
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Write a program for **conversion of US dollars** \(USD\) **into Bulgarian levs**

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#10](https://judge.softuni.bg/Contests/Practice/Index/504#10).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#10](https://judge.softuni.org/Contests/Practice/Index/504#10).

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Trapezoid area = 17.5

### Testing in the Judge System

Test your solution here : [https://judge.softuni.bg/Contests/Practice/Index/504\#4](https://judge.softuni.bg/Contests/Practice/Index/504#4).
Test your solution here : [https://judge.softuni.org/Contests/Practice/Index/504\#4](https://judge.softuni.org/Contests/Practice/Index/504#4).

## Example: Circle Area and Perimeter

Expand All @@ -61,7 +61,7 @@ Let's test the program with **radius **`r = 10`:

### Testing in the Judge System

Test your solution here:[https://judge.softuni.bg/Contests/Practice/Index/504\#5](https://judge.softuni.bg/Contests/Practice/Index/504#5).
Test your solution here:[https://judge.softuni.org/Contests/Practice/Index/504\#5](https://judge.softuni.org/Contests/Practice/Index/504#5).

## Example: Rectangle Area in a Coordinate Plane

Expand Down Expand Up @@ -93,7 +93,7 @@ When the program is executed with the values from the coordinate system given in

### Testing in the Judge System

Test your solution here:[https://judge.softuni.bg/Contests/Practice/Index/504\#6](https://judge.softuni.bg/Contests/Practice/Index/504#6).
Test your solution here:[https://judge.softuni.org/Contests/Practice/Index/504\#6](https://judge.softuni.org/Contests/Practice/Index/504#6).

## Other Expressions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The result is:

## Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#3](https://judge.softuni.bg/Contests/Practice/Index/504#3).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#3](https://judge.softuni.org/Contests/Practice/Index/504#3).

## Using the Dollar String Interpolation

Expand Down Expand Up @@ -78,5 +78,5 @@ var town = Console.ReadLine();
Console.WriteLine($"You are {firstName} {lastName}, a {age}-years old person from {town}.");
```

Play with the above code and test it in the judge system: [https://judge.softuni.bg/Contests/Practice/Index/504\#3](https://legacy.gitbook.com/book/software-university-foundation/programming-basics-csharp-en/edit#).
Play with the above code and test it in the judge system: [https://judge.softuni.org/Contests/Practice/Index/504\#3](https://legacy.gitbook.com/book/software-university-foundation/programming-basics-csharp-en/edit#).

Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ Note that if you enter and invalid number, e.g. "_asfd_", the program will crash

### Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#1](https://judge.softuni.bg/Contests/Practice/Index/504#1).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#1](https://judge.softuni.org/Contests/Practice/Index/504#1).

Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Try to write a wrong number, for example "**hello**". You will get an error mess

### Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#0](https://judge.softuni.bg/Contests/Practice/Index/504#0).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#0](https://judge.softuni.org/Contests/Practice/Index/504#0).

### How Does the Example Work?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ In this case the `{0}` expression is replaced with the **first** passed argument

### Testing in the Judge System

Test your solution here: [https://judge.softuni.bg/Contests/Practice/Index/504\#2](https://judge.softuni.bg/Contests/Practice/Index/504#2).
Test your solution here: [https://judge.softuni.org/Contests/Practice/Index/504\#2](https://judge.softuni.org/Contests/Practice/Index/504#2).

Loading

0 comments on commit 870198f

Please sign in to comment.