結果
問題 | No.558 575検出するやつ |
ユーザー |
![]() |
提出日時 | 2017-06-18 13:56:31 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 217 bytes |
コンパイル時間 | 29,452 ms |
コンパイル使用メモリ | 390,560 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-01 19:57:55 |
合計ジャッジ時間 | 14,355 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 5 |
other | AC * 15 |
ソースコード
use std::io; fn main(){ let stdin = io::stdin(); let mut buf = String::new(); stdin.read_line(&mut buf).unwrap(); buf = buf.trim().to_string(); println!("{}", if buf.contains("575") {"YES"} else {"NO"}); }