結果
問題 | No.2297 Best Grouping |
ユーザー |
|
提出日時 | 2024-05-08 18:50:46 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 191 bytes |
コンパイル時間 | 12,863 ms |
コンパイル使用メモリ | 377,312 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-15 01:12:56 |
合計ジャッジ時間 | 14,007 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 20 |
ソースコード
fn main() {let mut s = String::new();std::io::stdin().read_line(&mut s).ok();println!("{}",match s.trim().parse::<u32>().unwrap() % 3 {2 => 1,1 => 2,_ => 0,});}