結果
| 問題 | No.1399 すごろくで世界旅行 (構築) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-08 20:40:45 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 75 ms / 3,153 ms |
| + 846µs | |
| コード長 | 275 bytes |
| 記録 | |
| コンパイル時間 | 70 ms |
| コンパイル使用メモリ | 81,852 KB |
| 実行使用メモリ | 87,768 KB |
| 最終ジャッジ日時 | 2026-09-22 07:33:24 |
| 合計ジャッジ時間 | 15,070 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()