結果
| 問題 | 
                            No.2143 Only One Bracket
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-12-02 22:03:09 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 45 ms / 2,000 ms | 
| コード長 | 177 bytes | 
| コンパイル時間 | 225 ms | 
| コンパイル使用メモリ | 82,112 KB | 
| 実行使用メモリ | 54,016 KB | 
| 最終ジャッジ日時 | 2024-10-09 23:31:13 | 
| 合計ジャッジ時間 | 1,186 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 7 | 
ソースコード
import sys
input = sys.stdin.readline
from collections import *
N = int(input())
for i in range(N):
    if i<N-1:
        print(')'*i+'('*(i+1))
    else:
        print(')'*i)