Submission #37752387
Source Code Expand
use proconio::{input, marker::Usize1};
fn main() {
input! {
n: usize,
i: Usize1,
};
let ans = n - i;
println!("{}", ans);
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Train |
| User | bouzuya |
| Language | Rust (1.42.0) |
| Score | 100 |
| Code Size | 157 Byte |
| Status | AC |
| Exec Time | 5 ms |
| Memory | 2144 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 0_00.txt, 0_01.txt, 0_02.txt |
| All | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 0_00.txt | AC | 5 ms | 2080 KiB |
| 0_01.txt | AC | 2 ms | 1972 KiB |
| 0_02.txt | AC | 2 ms | 2040 KiB |
| 1_00.txt | AC | 1 ms | 2140 KiB |
| 1_01.txt | AC | 1 ms | 1996 KiB |
| 1_02.txt | AC | 1 ms | 2144 KiB |
| 1_03.txt | AC | 1 ms | 1924 KiB |
| 1_04.txt | AC | 2 ms | 1984 KiB |