結果
| 問題 |
No.9001 標準入出力の練習問題(テスト用)
|
| ユーザー |
|
| 提出日時 | 2020-01-04 17:49:04 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 387 bytes |
| コンパイル時間 | 20,012 ms |
| コンパイル使用メモリ | 399,840 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-22 21:10:01 |
| 合計ジャッジ時間 | 17,311 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
ソースコード
fn solve(summary: i64, s: String) {
println!("{} {}", summary, s);
}
fn main() {
let mut x_y = String::new();
let mut s = String::new();
std::io::stdin().read_line(&mut x_y).unwrap();
std::io::stdin().read_line(&mut s).unwrap();
let summary: i64 = x_y.trim().split_whitespace()
.map(|s| s.parse::<i64>().unwrap())
.sum();
solve(summary, s);
}