結果
| 問題 |
No.2143 Only One Bracket
|
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 15:48:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 277 bytes |
| コンパイル時間 | 153 ms |
| コンパイル使用メモリ | 82,668 KB |
| 実行使用メモリ | 53,104 KB |
| 最終ジャッジ日時 | 2025-06-12 15:48:16 |
| 合計ジャッジ時間 | 1,613 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 7 |
ソースコード
n = int(input())
if n == 2:
print(")")
print("(()")
else:
# Example for N=3; this is a placeholder and may not work for all cases
# The correct approach would need to be derived based on the problem's constraints
print(")")
print("(((")
print(")))")
gew1fw