by@paradigm_9
AC
1399ms
using S=System.Console;class A{static int r=>int.Parse(S.ReadLine());static void Main(){for(int h=r,w=r,y=h;;)S.Write("*"+"*\n".PadLeft(w,"* "[y%h/y%y--]));}}
54 59
*********************************************************** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ***********************************************************
Unhandled Exception: System.DivideByZeroException: Attempted to divide by zero. at A.Main () [0x00013] in <614c27b85e024f5385a8e14b1e0f1dca>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.DivideByZeroException: Attempted to divide by zero. at A.Main () [0x00013] in <614c27b85e024f5385a8e14b1e0f1dca>:0