結果
問題 | No.1399 すごろくで世界旅行 (構築) |
ユーザー |
|
提出日時 | 2022-01-08 20:40:45 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 119 ms / 3,153 ms |
コード長 | 275 bytes |
コンパイル時間 | 166 ms |
コンパイル使用メモリ | 82,188 KB |
実行使用メモリ | 79,800 KB |
最終ジャッジ日時 | 2024-11-14 09:45:24 |
合計ジャッジ時間 | 23,380 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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()