結果

問題 No.1169 Row and Column and Diagonal
ユーザー tailstails
提出日時 2020-08-14 21:24:58
言語 Perl
(5.38.2)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 66 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-18 20:28:17
合計ジャッジ時間 1,386 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
5,248 KB
testcase_01 AC 4 ms
5,376 KB
testcase_02 AC 4 ms
5,376 KB
testcase_03 AC 3 ms
5,376 KB
testcase_04 AC 3 ms
5,376 KB
testcase_05 AC 3 ms
5,376 KB
testcase_06 AC 8 ms
5,376 KB
testcase_07 AC 17 ms
5,376 KB
testcase_08 AC 24 ms
5,376 KB
testcase_09 AC 35 ms
5,376 KB
testcase_10 AC 62 ms
5,376 KB
testcase_11 AC 67 ms
5,376 KB
testcase_12 AC 68 ms
5,376 KB
testcase_13 AC 72 ms
5,376 KB
testcase_14 AC 73 ms
5,376 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$n=<>+0;
for$i(1..$n){
	print"@{[map+($i*2-$_)%$n||$n,1..$n]}\n"
}
0