結果
| 問題 |
No.3141 Balancing with X=>O Flip
|
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2025-05-16 23:08:56 |
| 言語 | Go (1.23.4) |
| 結果 |
AC
|
| 実行時間 | 97 ms / 2,000 ms |
| コード長 | 170 bytes |
| コンパイル時間 | 13,421 ms |
| コンパイル使用メモリ | 248,200 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2025-05-17 03:15:08 |
| 合計ジャッジ時間 | 15,359 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
ソースコード
package main
import . "fmt"
import . "strings"
func main() {
var n,s string
Scan(&n,&s)
if Count(s,"(")==Count(s,")"){
Println("Yes")
} else{
Println("No")
}
}
ID 21712