結果
| 問題 |
No.8076 eLepHAnTpAoOM
|
| コンテスト | |
| ユーザー |
mito_nya
|
| 提出日時 | 2021-04-01 20:10:36 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 143 bytes |
| コンパイル時間 | 20,470 ms |
| コンパイル使用メモリ | 402,356 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-18 01:30:42 |
| 合計ジャッジ時間 | 18,565 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 23 |
コンパイルメッセージ
warning: unnecessary trailing semicolon --> src/main.rs:6:37 | 6 | let S=-8.245+6.807*H+7.073*2.*R;; | ^ help: remove this semicolon | = note: `#[warn(redundant_semicolons)]` on by default warning: variable `H` should have a snake case name --> src/main.rs:3:9 | 3 | H: f64, | ^ help: convert the identifier to snake case: `h` | = note: `#[warn(non_snake_case)]` on by default warning: variable `R` should have a snake case name --> src/main.rs:4:9 | 4 | R: f64, | ^ help: convert the identifier to snake case: `r` warning: variable `S` should have a snake case name --> src/main.rs:6:9 | 6 | let S=-8.245+6.807*H+7.073*2.*R;; | ^ help: convert the identifier to snake case (notice the capitalization): `s`
ソースコード
fn main(){
proconio::input!{
H: f64,
R: f64,
}
let S=-8.245+6.807*H+7.073*2.*R;;
println!("{}",S);
}
mito_nya