結果
| 問題 | No.2143 Only One Bracket |
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 20:50:02 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 287 bytes |
| コンパイル時間 | 228 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 51,712 KB |
| 最終ジャッジ日時 | 2025-06-12 20:53:43 |
| 合計ジャッジ時間 | 1,782 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 7 |
ソースコード
n = int(input())
if n == 2:
print(")")
print("(()")
elif n == 3:
print(")")
print("(()")
print("(()")
else:
# For the sake of this example, we're only handling N=2 and N=3.
# A general solution for all N up to 8 would require a more complex approach.
pass
gew1fw