結果

問題 No.1399 すごろくで世界旅行 (構築)
ユーザー lam6er
提出日時 2025-04-16 15:30:37
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 255 bytes
コンパイル時間 575 ms
コンパイル使用メモリ 81,576 KB
実行使用メモリ 68,996 KB
最終ジャッジ日時 2025-04-16 15:34:29
合計ジャッジ時間 23,037 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 3 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

V, D = map(int, input().split())

# Create a complete graph where each vertex is connected to all others except itself
result = []
for i in range(V):
    row = ['1'] * V
    row[i] = '0'
    result.append(''.join(row))

for line in result:
    print(line)
0