結果
問題 | No.2599 Summer Project |
ユーザー |
![]() |
提出日時 | 2024-08-21 22:09:41 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 15 ms / 2,000 ms |
コード長 | 378 bytes |
コンパイル時間 | 13,156 ms |
コンパイル使用メモリ | 401,864 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-08-21 22:09:55 |
合計ジャッジ時間 | 12,471 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 4 |
ソースコード
use std::collections::HashSet;use proconio::input;fn main() {input! {s: String,t: String,}let mut st: HashSet<String> = ["beachball".to_string(),"watermelon".to_string(),"shrinebell".to_string(),].into_iter().collect();st.remove(&s);st.remove(&t);println!("{}", st.iter().next().unwrap());}