結果
問題 |
No.3196 Unique Nickname
|
ユーザー |
![]() |
提出日時 | 2025-07-18 03:28:08 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 240 bytes |
コンパイル時間 | 11,715 ms |
コンパイル使用メモリ | 242,508 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-07-18 03:28:22 |
合計ジャッジ時間 | 13,280 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 WA * 5 |
ソースコード
package main import . "fmt" func main() { var n int Scan(&n) m := map[string]bool{} for ; n > 0; n-- { var s, t string Scan(&s,&t) if m[s] || m[t] { Println("No") return } m[s] = true m[t] = true } Println("Yes") }