Please in order to save solutions and appear on the leaderboards.

Details

Sudoku is a number puzzle where a grid of 81 digits (9x9) is filled by the digits 1-9 such that no row, column, or 3x3 subregion contains duplicate digits.

Write a program that given an incomplete Sudoku board as 9 arguments of 9 digits, with blanks respresented by an underscore, print a solved Sudoku grid using unicode box-drawing characters like so:

┏━━━┯━━━┯━━━â”ŗ━━━┯━━━┯━━━â”ŗ━━━┯━━━┯━━━┓
┃ 2 │ 5 │ 8 ┃ 4 │ 1 │ 7 ┃ 6 │ 9 │ 3 ┃
┠───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───┨
┃ 6 │ 1 │ 7 ┃ 9 │ 2 │ 3 ┃ 8 │ 5 │ 4 ┃
┠───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───┨
┃ 9 │ 3 │ 4 ┃ 8 │ 6 │ 5 ┃ 1 │ 7 │ 2 ┃
â”Ŗ━━━â”ŋ━━━â”ŋ━━━╋━━━â”ŋ━━━â”ŋ━━━╋━━━â”ŋ━━━â”ŋ━━━â”Ģ
┃ 3 │ 2 │ 5 ┃ 7 │ 8 │ 1 ┃ 4 │ 6 │ 9 ┃
┠───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───┨
┃ 8 │ 9 │ 6 ┃ 3 │ 5 │ 4 ┃ 2 │ 1 │ 7 ┃
┠───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───┨
┃ 7 │ 4 │ 1 ┃ 6 │ 9 │ 2 ┃ 5 │ 3 │ 8 ┃
â”Ŗ━━━â”ŋ━━━â”ŋ━━━╋━━━â”ŋ━━━â”ŋ━━━╋━━━â”ŋ━━━â”ŋ━━━â”Ģ
┃ 4 │ 6 │ 9 ┃ 1 │ 3 │ 8 ┃ 7 │ 2 │ 5 ┃
┠───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───┨
┃ 5 │ 7 │ 3 ┃ 2 │ 4 │ 6 ┃ 9 │ 8 │ 1 ┃
┠───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───╂───â”ŧ───â”ŧ───┨
┃ 1 │ 8 │ 2 ┃ 5 │ 7 │ 9 ┃ 3 │ 4 │ 6 ┃
┗━━━┷━━━┷━━━â”ģ━━━┷━━━┷━━━â”ģ━━━┷━━━┷━━━┛
0 characters
 
 
 
 
 
 
 
 
ARGV is available via STDIN, joined on NULL. x is a no-op.
arguments holds ARGV, print() to output with a newline, write() to output without a newline.
say() is available without any import.
SELECT arg FROM argv to access the arguments, only the first column of the first result set will be printed, NULL values will be skipped, and the dialect is SQLite.
ctrl + enter or Run