|
@@ -1,31 +1,94 @@
|
|
using System;
|
|
using System;
|
|
-using System.Collections.Generic;
|
|
|
|
-using System.Linq;
|
|
|
|
-using System.Text;
|
|
|
|
-using System.Threading.Tasks;
|
|
|
|
|
|
|
|
-namespace ConsoleApp1_ConventJero32O
|
|
|
|
|
|
+namespace ConsoleApp1_ShorteURPor_00493
|
|
{
|
|
{
|
|
class Program
|
|
class Program
|
|
{
|
|
{
|
|
- private
|
|
|
|
- static int sorce;
|
|
|
|
|
|
+ private class Stamp_obj
|
|
|
|
+ {
|
|
|
|
+ public uint nl_iname { get; set; }
|
|
|
|
+ public uint sl_isros { get; set; }
|
|
|
|
+ }
|
|
|
|
+ static Stamp_obj[] sObjLits = new Stamp_obj[12];
|
|
|
|
+ static Boolean[,] sObjDivanop = new Boolean[4,7];
|
|
static void Main(string[] args)
|
|
static void Main(string[] args)
|
|
{
|
|
{
|
|
- sorce = Convert.ToInt32(Console.ReadLine());
|
|
|
|
- if (sorce >= 85)
|
|
|
|
|
|
+ uint i = 0;
|
|
|
|
+ Console.WriteLine("Oo_r#star_line;::________");
|
|
|
|
+ do
|
|
|
|
+ {
|
|
|
|
+ nManip_GetCorn.nGetManup();
|
|
|
|
+ i ++;
|
|
|
|
+ } while (i < 12);
|
|
|
|
+ nManip_LitCorn.nLivManup();
|
|
|
|
+ nManip_GoutCorn.nLiftGoutpt();
|
|
|
|
+ Console.WriteLine("--------------------------------------------------");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ static private class nManip_GetCorn
|
|
|
|
+ {
|
|
|
|
+ static public uint n_Int_comtanic = 0;
|
|
|
|
+ static public void nGetManup()
|
|
{
|
|
{
|
|
- Console.WriteLine("Good <-A->!!!!.........");
|
|
|
|
|
|
+ Stamp_obj s_tamUp = new Stamp_obj { nl_iname = 0 ,sl_isros =0 };
|
|
|
|
+ Console.WriteLine("Input {0} Stamp_obj:", n_Int_comtanic);
|
|
|
|
+ Console.WriteLine("obj_Nlname: ");
|
|
|
|
+ s_tamUp.nl_iname
|
|
|
|
+ = Convert.ToUInt32(Console.ReadLine());
|
|
|
|
+ s_tamUp.nl_iname %= 4;
|
|
|
|
+ Console.WriteLine("obj_Slisocre: ");
|
|
|
|
+ s_tamUp.sl_isros
|
|
|
|
+ = Convert.ToUInt32(Console.ReadLine());
|
|
|
|
+ s_tamUp.sl_isros %= 7;
|
|
|
|
+ sObjLits[n_Int_comtanic] = s_tamUp;
|
|
|
|
+ n_Int_comtanic += 1;
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
- else if (sorce < 60)
|
|
|
|
|
|
+ }
|
|
|
|
+ static private class nManip_LitCorn
|
|
|
|
+ {
|
|
|
|
+ static public void nLivManup()
|
|
{
|
|
{
|
|
- Console.WriteLine("you suth come up<-D->!!!!.........");
|
|
|
|
|
|
+ uint nLiv_uint = 12;
|
|
|
|
+ uint i_nuint = 0;
|
|
|
|
+ do
|
|
|
|
+ {
|
|
|
|
+ sObjDivanop[sObjLits[i_nuint].nl_iname, sObjLits[i_nuint].sl_isros]
|
|
|
|
+ = true;
|
|
|
|
+ i_nuint += 1;
|
|
|
|
+ } while (i_nuint < nLiv_uint);
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
- else
|
|
|
|
|
|
+ }
|
|
|
|
+ static private class nManip_GoutCorn
|
|
|
|
+ {
|
|
|
|
+ static public void nLiftGoutpt()
|
|
{
|
|
{
|
|
- Console.WriteLine("Good Good Study: you will GoUP<-C.or.B->!!!!");
|
|
|
|
|
|
+ uint i, n;
|
|
|
|
+ string str_sorfromer = "";
|
|
|
|
+ Console.WriteLine("--------------------------------------------------");
|
|
|
|
+ Console.WriteLine(" ::Hello InStarL!!!!");
|
|
|
|
+ Console.WriteLine("--------------------------------------------------");
|
|
|
|
+ Console.WriteLine("--------------------------------------------------");
|
|
|
|
+ for (i=0;i<4;i++)
|
|
|
|
+ {
|
|
|
|
+ for(n=0;n<7;n++)
|
|
|
|
+ {
|
|
|
|
+ if (sObjDivanop[i, n])
|
|
|
|
+ {
|
|
|
|
+ str_sorfromer += '*';
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
|
|
+ str_sorfromer += ' ';
|
|
|
|
+ }
|
|
|
|
+ Console.WriteLine(str_sorfromer);
|
|
|
|
+ str_sorfromer = "";
|
|
|
|
+ }
|
|
|
|
+ Console.WriteLine("--------------------------------------------------");
|
|
|
|
+ Console.WriteLine(" ::end OutStarLink!!!!");
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
- Console.ReadLine();
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|