結果
| 問題 |
No.1399 すごろくで世界旅行 (構築)
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-16 15:27:42 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 274 bytes |
| コンパイル時間 | 156 ms |
| コンパイル使用メモリ | 82,276 KB |
| 実行使用メモリ | 84,216 KB |
| 最終ジャッジ日時 | 2025-04-16 15:30:58 |
| 合計ジャッジ時間 | 26,368 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 WA * 19 |
ソースコード
V, D = map(int, input().split())
# Create a complete graph (all edges except self-loops)
E = [[0] * V for _ in range(V)]
for i in range(V):
for j in range(V):
if i != j:
E[i][j] = 1
# Print the matrix
for row in E:
print(''.join(map(str, row)))
lam6er