Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sparametryzowane robi T lub odwrocone T
- using System;
- public class Program
- {
- public static void Main()
- {
- int wysokosc = 100; // user input (px)
- int szerokosc = 100; // user input (px)
- bool odwroconeT = true;
- for (int i = 0; i < wysokosc; i++) {
- for (int j = 0; j < szerokosc; j++) {
- if (i == wysokosc - 1 && odwroconeT == true) {
- Console.Write ("1");
- } else if (i == 0 && odwroconeT == false) {
- Console.Write ("1");
- } else {
- if (j != (szerokosc / 2)) {
- Console.Write ("0");
- } else {
- Console.Write ("1");
- }
- }
- }
- Console.WriteLine("");
- }
- }
- }
- Output:
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000
- 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement