結果
問題 |
No.3196 Unique Nickname
|
ユーザー |
![]() |
提出日時 | 2025-07-18 03:29:14 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 240 bytes |
コンパイル時間 | 11,254 ms |
コンパイル使用メモリ | 240,820 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-07-18 03:29:28 |
合計ジャッジ時間 | 12,336 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 WA * 8 |
ソースコード
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") }