結果
| 問題 | No.3728 Half and Half, and Double |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-19 17:25:10 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 30 ms / 2,000 ms |
| + 406µs | |
| コード長 | 196 bytes |
| 記録 | |
| コンパイル時間 | 75 ms |
| コンパイル使用メモリ | 80,768 KB |
| 実行使用メモリ | 65,204 KB |
| 最終ジャッジ日時 | 2026-09-19 17:25:18 |
| 合計ジャッジ時間 | 3,258 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 33 |
ソースコード
N=int(input())
if N<=2:
print(-1)
else:
for i in range(2):
print("A"+"B"*N+"A"*(N-1))
for m in range(N):
print("A"+"B"*(2*N-2)+"A")
for j in range(N-2):
print("A"*(2*N))