結果
| 問題 |
No.8059 tan
|
| コンテスト | |
| ユーザー |
akakimidori
|
| 提出日時 | 2020-04-01 21:56:21 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 377 bytes |
| コンパイル時間 | 13,836 ms |
| コンパイル使用メモリ | 383,764 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-06-27 10:45:41 |
| 合計ジャッジ時間 | 14,509 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 |
ソースコード
use std::io::Read;
fn run() {
let mut s = String::new();
std::io::stdin().read_to_string(&mut s).unwrap();
let mut it = s.trim().split_whitespace();
it.next();
for x in it.map(|s| s.parse::<usize>().unwrap()) {
if x == 0 || x == 45 {
println!("Y");
} else {
println!("N");
}
}
}
fn main() {
run();
}
akakimidori