結果

問題 No.3141 Balancing with X=>O Flip
ユーザー ID 21712
提出日時 2025-05-16 22:58:47
言語 Go
(1.23.4)
結果
WA  
実行時間 -
コード長 176 bytes
コンパイル時間 12,419 ms
コンパイル使用メモリ 246,860 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-05-16 22:59:02
合計ジャッジ時間 13,286 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 4 WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

package main

import . "fmt"
import . "strings"
func main() {
	var n,s string
	Scan(&n,&s)
	if Contains(s,"(")==Contains(s,")"){
		Println("Yes")
	} else{
		Println("No")
	}
 }
0