結果
| 問題 | No.2781 A%B問題 |
| コンテスト | |
| ユーザー |
northward
|
| 提出日時 | 2024-06-14 21:44:16 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 244 bytes |
| 記録 | |
| コンパイル時間 | 1,578 ms |
| コンパイル使用メモリ | 200,736 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2026-03-06 01:25:56 |
| 合計ジャッジ時間 | 2,326 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 3 |
ソースコード
#![allow(non_snake_case, unused_imports)]
use proconio::{fastout, input, marker::*};
#[fastout]
fn main() {
input! {
A: isize, B: isize,
}
let mut r = A % B;
if r < 0 {
r += B;
}
println!("{}", r);
}
northward