結果

問題 No.1721 [Cherry 3rd Tune N] 麗しきNumber
ユーザー phspls
提出日時 2022-09-30 10:05:25
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 231 bytes
コンパイル時間 13,407 ms
コンパイル使用メモリ 384,340 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-22 18:40:11
合計ジャッジ時間 14,750 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main() {
    let mut n = String::new();
    std::io::stdin().read_line(&mut n).ok();
    let n = n.trim();
    if n.contains('4') && n.contains('6') {
        println!("Beautiful");
    } else {
        println!("...");
    }
}
0