@@ -1,5 +1,6 @@
1using System;
1using System;
2using System.Collections.Generic;
2using System.Collections.Generic;
4namespace SolveAvdoshin
5namespace SolveAvdoshin
@@ -107,7 +108,7 @@ namespace SolveAvdoshin
107 Console.WriteLine("\tСколько операций, столько и блоков");
108 Console.WriteLine("\tСколько операций, столько и блоков");
110− foreach(string s in new HashSet<string>(ex.GetSetOfAllBlockStrings())) {
111+ foreach(string s in new HashSet<string>(ex.GetSetOfAllBlockStrings()).OrderByDescending(x => x.Length).Skip(1)) {
111 if(s != ex.ToString()) {
112 if(s != ex.ToString()) {
112 Console.WriteLine("\t" + s);
113 Console.WriteLine("\t" + s);