結果
| 問題 |
No.8076 eLepHAnTpAoOM
|
| コンテスト | |
| ユーザー |
mito_nya
|
| 提出日時 | 2021-04-01 20:11:43 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 179 bytes |
| コンパイル時間 | 11,623 ms |
| コンパイル使用メモリ | 401,560 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-18 01:35:05 |
| 合計ジャッジ時間 | 12,593 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 23 |
コンパイルメッセージ
warning: unused import: `std::f64::consts::PI` --> src/main.rs:2:5 | 2 | use std::f64::consts::PI; | ^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unnecessary trailing semicolon --> src/main.rs:8:37 | 8 | 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:5:9 | 5 | 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:6:9 | 6 | R: f64, | ^ help: convert the identifier to snake case: `r` warning: variable `S` should have a snake case name --> src/main.rs:8:9 | 8 | let S=-8.245+6.807*H+7.073*2.*R;; | ^ help: convert the identifier to snake case (notice the capitalization): `s`
ソースコード
use proconio::input;
use std::f64::consts::PI;
fn main(){
input!{
H: f64,
R: f64,
}
let S=-8.245+6.807*H+7.073*2.*R;;
println!("{}",S);
}
mito_nya