/ Vijos /

记录详情

Compile Error

error[E0277]: the trait bound `i64: std::iter::Sum<std::result::Result<i64, std::num::ParseIntError>>` is not satisfied
 --> /in/foo.rs:9:25
  |
9 |                        .sum(); 
  |                         ^^^ the trait `std::iter::Sum<std::result::Result<i64, std::num::ParseIntError>>` is not implemented for `i64`
  |
  = help: the following implementations were found:
  = help:   <i64 as std::iter::Sum>
  = help:   <i64 as std::iter::Sum<&'a i64>>

error: aborting due to previous error

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
Rust
递交时间
2017-04-25 00:24:32
评测时间
2017-04-25 00:24:32
评测机
分数
0
总耗时
63ms
峰值内存
18.434 MiB