Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Stupid_Password_Generator
- {
- class Program
- {
- static void Main(string[] args)
- {
- int n = int.Parse(Console.ReadLine());
- int l = int.Parse(Console.ReadLine());
- for (int i = 1; i <= n; i++)
- {
- for (int j = 1; j <= n; j++)
- {
- for (int k = 97; k < 97 + l; k++)
- {
- for (int o = 97; o < 97 + l; o++)
- {
- for (int p = 1; p <= n; p++)
- {
- if (p > i && p > j)
- {
- Console.Write("{0}{1}{2}{3}{4} ", i, j, (char)k, (char)o, p);
- }
- }
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment