結果
| 問題 | 
                            No.2143 Only One Bracket
                             | 
                    
| コンテスト | |
| ユーザー | 
                             sotanishy
                         | 
                    
| 提出日時 | 2022-12-02 21:45:59 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 41 ms / 2,000 ms | 
| コード長 | 142 bytes | 
| コンパイル時間 | 170 ms | 
| コンパイル使用メモリ | 82,788 KB | 
| 実行使用メモリ | 52,224 KB | 
| 最終ジャッジ日時 | 2024-10-09 22:52:25 | 
| 合計ジャッジ時間 | 1,052 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 7 | 
ソースコード
import sys
input = sys.stdin.readline
N = int(input())
for i in range(N-1):
    ans = ')' * i + '(' * (i+1)
    print(ans)
print(')' * (N-1))
            
            
            
        
            
sotanishy