Submission #49204218
Source Code Expand
use proconio::input;
fn main() {
input! {
s: String,
t: String,
};
let ans = if s == t {
"same"
} else if s.eq_ignore_ascii_case(&t) {
"case-insensitive"
} else {
"different"
};
println!("{}", ans);
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Case Sensitive |
| User | bouzuya |
| Language | Rust (rustc 1.70.0) |
| Score | 9 |
| Code Size | 270 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 2080 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 9 / 9 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt, sample_03.txt |
| All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, sample_01.txt, sample_02.txt, sample_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| random_01.txt | AC | 1 ms | 1896 KiB |
| random_02.txt | AC | 1 ms | 2064 KiB |
| random_03.txt | AC | 1 ms | 1932 KiB |
| random_04.txt | AC | 0 ms | 1860 KiB |
| random_05.txt | AC | 0 ms | 1912 KiB |
| random_06.txt | AC | 0 ms | 1936 KiB |
| random_07.txt | AC | 0 ms | 1968 KiB |
| random_08.txt | AC | 0 ms | 1904 KiB |
| random_09.txt | AC | 1 ms | 2080 KiB |
| random_10.txt | AC | 0 ms | 1920 KiB |
| sample_01.txt | AC | 1 ms | 1968 KiB |
| sample_02.txt | AC | 1 ms | 1928 KiB |
| sample_03.txt | AC | 1 ms | 1872 KiB |