Submission #43704873
Source Code Expand
use proconio::input;
fn main() {
input! {
c: char,
};
let ans = (c as u8 + 1) as char;
println!("{}", ans);
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Next Alphabet |
| User | bouzuya |
| Language | Rust (1.42.0) |
| Score | 100 |
| Code Size | 135 Byte |
| Status | AC |
| Exec Time | 6 ms |
| Memory | 2104 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 01.txt, 02.txt |
| All | 01.txt, 02.txt, 11.txt, 12.txt, 13.txt, 14.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01.txt | AC | 6 ms | 1968 KiB |
| 02.txt | AC | 2 ms | 2104 KiB |
| 11.txt | AC | 1 ms | 2100 KiB |
| 12.txt | AC | 1 ms | 2068 KiB |
| 13.txt | AC | 1 ms | 1976 KiB |
| 14.txt | AC | 2 ms | 2040 KiB |