結果
問題 |
No.3084 Identify f(x)
|
ユーザー |
|
提出日時 | 2025-03-19 08:39:31 |
言語 | Rust (1.83.0 + proconio) |
結果 |
TLE
|
実行時間 | - |
コード長 | 346 bytes |
コンパイル時間 | 12,718 ms |
コンパイル使用メモリ | 382,760 KB |
実行使用メモリ | 42,016 KB |
最終ジャッジ日時 | 2025-04-04 20:51:46 |
合計ジャッジ時間 | 17,432 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 6 |
ソースコード
use proconio::input; use std::io::{self, Write}; fn main() { let mut x = 0; println!("? {}", x); io::stdout().flush().unwrap(); input!{ f0: i32 } x = 1; println!("? {}", x); io::stdout().flush().unwrap(); input!{ f1: i32 } println!("! {} {}", f1-f0, f0); io::stdout().flush().unwrap(); }