結果
問題 |
No.2450 99-like Number
|
ユーザー |
|
提出日時 | 2023-09-03 17:18:56 |
言語 | Rust (1.83.0 + proconio) |
結果 |
WA
|
実行時間 | - |
コード長 | 381 bytes |
コンパイル時間 | 13,588 ms |
コンパイル使用メモリ | 401,756 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-12 22:53:13 |
合計ジャッジ時間 | 14,641 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 18 |
ソースコード
#![allow(dead_code)] use std::io::{stdin, BufRead}; fn solve(s: String) -> &'static str { if s.chars().all(|c| c == '9') { "Yes" } else { "No" } } fn main() { let s = get_line(); println!("{}", &s); } fn get_line() -> String { let mut buf = String::new(); stdin().lock().read_line(&mut buf).unwrap(); buf.trim_end().to_string() }