Result

AC

Duration

4076ms

Code [DL]

set/pq=
set s=%q:~0,50%
set str=%q%
set len=0

set tl=1
set ss=%q%
:LOOPP
if not "%ss:~0,1%"=="T" (
 set /a tl=%tl%+1
 set ss=%ss:~1%
 goto :LOOPP
)

:LOOP
if not "%str:~0,1%"=="K" (
    set str=%str:~1%
    set /a len=%len%+1
    goto :LOOP
)
set/a x=%len% / 51
set/a y=%len% - %x% * 51
:LOOP2
if not %x% == 0 (
 set/a x=%x%-1
 echo %s%
 goto :LOOP2
)
set i=0
:LOOP3
if not %i% == %y% (
 set /p X= <NUL
 set /a i=%i%+1
 goto :LOOP3
)

:LOOP4
if not %i% == %tl% (
 set /p X=_<NUL
 set /a i=%i%+1
 goto :LOOP4
)

stdin

                              T                   
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
              K                                   

stdout

                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
                              T                   
              _________________

stderr

wine: created the configuration directory '/root/.wine'
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
000b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
000b:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0014:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0014:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x800736b7
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 800736b7
0014:err:ole:get_local_server_stream Failed: 800736b7
0010:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0010:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
0016:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
0016:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0016:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
0018:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
0018:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0018:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Could not load wine-gecko. HTML rendering will be disabled.
0010:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
wine: configuration in '/root/.wine' has been updated.
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org

strace