結果
| 問題 | No.1399 すごろくで世界旅行 (構築) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-08 20:40:45 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 79 ms / 3,153 ms |
| コード長 | 275 bytes |
| 記録 | |
| コンパイル時間 | 200 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 85,040 KB |
| 最終ジャッジ日時 | 2026-05-09 22:22:08 |
| 合計ジャッジ時間 | 17,379 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 22 |
ソースコード
V,D = map(int,input().split())
if D == 1:
for h in range(V):
print('1' * V)
else:
for h in range(V):
for w in range(V):
if h == 0 or w == 0:
print(1,end="")
else:
print(0,end="")
print()