結果
| 問題 |
No.1971 Easy Sudoku
|
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-04-07 14:46:07 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
AC
|
| 実行時間 | 81 ms / 2,000 ms |
| コード長 | 389 bytes |
| コンパイル時間 | 8,809 ms |
| コンパイル使用メモリ | 169,580 KB |
| 実行使用メモリ | 188,912 KB |
| 最終ジャッジ日時 | 2025-04-07 14:46:18 |
| 合計ジャッジ時間 | 10,572 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 13 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (91 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
for(int i = 1; i <= n; i++)
{
for(int j = 1; j <= n; j++)
{
Console.Write(((i + j - 2) % n + 1) + " ");
}
Console.WriteLine();
}
}
}
Maeda