Result

AC

Duration

1049ms

Code [DL]

<?php
$a=fgets(STDIN);for($b=fgets(STDIN);$i<$a;)echo"*".str_repeat("* "[++$i%$a>1],$b-2)."*
";

stdin

79
81

stdout

*********************************************************************************
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*                                                                               *
*********************************************************************************

stderr

PHP Notice:  Undefined variable: i in /volume/CODE on line 2
PHP Notice:  Undefined variable: i in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2
PHP Notice:  String offset cast occurred in /volume/CODE on line 2
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 2