結果

問題 No.1974 2x2 Flipper
ユーザー hir355hir355
提出日時 2022-06-10 22:23:20
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 205 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 81,420 KB
実行使用メモリ 85,464 KB
最終ジャッジ日時 2023-10-21 05:23:53
合計ジャッジ時間 5,518 ms
ジャッジサーバーID
(参考情報)
judge10 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,248 KB
testcase_01 AC 71 ms
76,416 KB
testcase_02 AC 51 ms
64,180 KB
testcase_03 AC 127 ms
81,800 KB
testcase_04 AC 86 ms
78,220 KB
testcase_05 WA -
testcase_06 AC 104 ms
79,792 KB
testcase_07 AC 90 ms
78,220 KB
testcase_08 AC 61 ms
73,936 KB
testcase_09 AC 106 ms
80,260 KB
testcase_10 WA -
testcase_11 AC 96 ms
78,920 KB
testcase_12 AC 126 ms
81,832 KB
testcase_13 AC 100 ms
79,260 KB
testcase_14 AC 83 ms
77,588 KB
testcase_15 AC 132 ms
82,944 KB
testcase_16 WA -
testcase_17 AC 115 ms
80,628 KB
testcase_18 AC 57 ms
72,940 KB
testcase_19 AC 67 ms
76,044 KB
testcase_20 AC 88 ms
78,204 KB
testcase_21 AC 153 ms
85,132 KB
testcase_22 AC 156 ms
85,464 KB
testcase_23 AC 158 ms
85,372 KB
testcase_24 WA -
testcase_25 AC 39 ms
53,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = map(int, input().split())
x = n // 2 * 2
y = m // 2 * 2
print(x * y)
ans = [[0] * m for _ in range(n)]
for i in range(x):
    for j in range(y):
        ans[i][j] = 1
for row in ans:
    print(*row)
0