/ Vijos /

记录详情

Accepted

warning: unused `Result` that must be used
 --> /w/foo.rs:5:5
  |
5 |     io::stdin().read_line(&mut line);
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this `Result` may be an `Err` variant, which should be handled
  = note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
  |
5 |     let _ = io::stdin().read_line(&mut line);
  |     +++++++

warning: 1 warning emitted

# 状态 耗时 内存占用
#1 Accepted 1ms 288.0 KiB
#2 Accepted 1ms 324.0 KiB
#3 Accepted 1ms 288.0 KiB
#4 Accepted 1ms 288.0 KiB
#5 Accepted 1ms 552.0 KiB
#6 Accepted 1ms 288.0 KiB
#7 Accepted 1ms 516.0 KiB
#8 Accepted 1ms 516.0 KiB
#9 Accepted 1ms 288.0 KiB
#10 Accepted 1ms 288.0 KiB

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
Rust
递交时间
2024-10-03 17:57:39
评测时间
2024-10-03 17:57:39
评测机
分数
100
总耗时
15ms
峰值内存
552.0 KiB