#Dyalog APL , (削除) 17 (削除ここまで)(削除) 13 (削除ここまで) 10 bytes
Dyalog APL , (削除) 17 (削除ここまで)(削除) 13 (削除ここまで) 10 bytes
Prompts for an enclosed array containing (row, column) and then for a character. Gives INDEX ERROR on faulty input.
⊖⍞@⎕⊢5 5⍴0
⊖ flip upside-down the result of
⍞ inputted-character
@ replacing the content at position
⎕ evaluated-input (enclosed row, column)
⊢ of
5 5⍴ ×ばつ5 array of
0 zeros
#Dyalog APL , (削除) 17 (削除ここまで)(削除) 13 (削除ここまで) 10 bytes
Prompts for an enclosed array containing (row, column) and then for a character. Gives INDEX ERROR on faulty input.
⊖⍞@⎕⊢5 5⍴0
⊖ flip upside-down the result of
⍞ inputted-character
@ replacing the content at position
⎕ evaluated-input (enclosed row, column)
⊢ of
5 5⍴ ×ばつ5 array of
0 zeros
Dyalog APL , (削除) 17 (削除ここまで)(削除) 13 (削除ここまで) 10 bytes
Prompts for an enclosed array containing (row, column) and then for a character. Gives INDEX ERROR on faulty input.
⊖⍞@⎕⊢5 5⍴0
⊖ flip upside-down the result of
⍞ inputted-character
@ replacing the content at position
⎕ evaluated-input (enclosed row, column)
⊢ of
5 5⍴ ×ばつ5 array of
0 zeros
#Dyalog APL 16.0Dyalog APL, (削除) 17 (削除ここまで) 13 (削除) 13 (削除ここまで) 10 bytes
Prompts for an enclosed array containing (row, column) and then for a character. Gives INDEX ERROR on faulty input.
⊖⍞@(⊂⎕)⊢5⊖⍞@⎕⊢5 5⍴0
⊖ flip flip upside-down the result of
⍞@(...)⍞ replacing with inputted inputted-character
⊂⎕@ at replacing the content at position evaluated
⎕ evaluated-input (rowenclosed row, column)
⊢ of of
5 5⍴05⍴ ×ばつ5 grid ×ばつ5 array of zeros
0 zeros
#Dyalog APL 16.0, (削除) 17 (削除ここまで) 13 bytes
Prompts for (row, column) and character. Gives INDEX ERROR on faulty input.
⊖⍞@(⊂⎕)⊢5 5⍴0
⊖ flip upside-down the result of
⍞@(...) replacing with inputted-character
⊂⎕ at position evaluated-input (row, column)
⊢ of
5 5⍴0 ×ばつ5 grid of zeros
#Dyalog APL, (削除) 17 (削除ここまで) (削除) 13 (削除ここまで) 10 bytes
Prompts for an enclosed array containing (row, column) and then for a character. Gives INDEX ERROR on faulty input.
⊖⍞@⎕⊢5 5⍴0
⊖ flip upside-down the result of
⍞ inputted-character
@ replacing the content at position
⎕ evaluated-input (enclosed row, column)
⊢ of
5 5⍴ ×ばつ5 array of
0 zeros
#Dyalog APL 16.0, 17 (削除) 17 (削除ここまで) 13 bytes
Prompts for column, row(row, column) and character. Gives INDEX ERROR on faulty input.
⍞@(⊂⊖⍞@(6-⎕)⎕⊂⎕)⊢5 5⍴0
⊖ flip upside-down the result of
⍞@(⊂...) replacereplacing with inputted character at position-character
(6-⎕)⎕⊂⎕ [row] 6 – inputat position evaluated-input (row, [column] inputcolumn)
⊢ of
5 5⍴0 ×ばつ5 grid of zeros
#Dyalog APL 16.0, 17 bytes
Prompts for column, row, character. Gives INDEX ERROR on faulty input.
⍞@(⊂(6-⎕)⎕)⊢5 5⍴0
⍞@(⊂...) replace with inputted character at position
(6-⎕)⎕ [row] 6 – input, [column] input
⊢ of
5 5⍴0 ×ばつ5 grid of zeros
#Dyalog APL 16.0, (削除) 17 (削除ここまで) 13 bytes
Prompts for (row, column) and character. Gives INDEX ERROR on faulty input.
⊖⍞@(⊂⎕)⊢5 5⍴0
⊖ flip upside-down the result of
⍞@(...) replacing with inputted-character
⊂⎕ at position evaluated-input (row, column)
⊢ of
5 5⍴0 ×ばつ5 grid of zeros