Submission #38100830
Source Code Expand
use proconio::input;
fn main() {
input! {
n: usize,
};
let ans = if n <= 59 {
"Bad"
} else if n <= 89 {
"Good"
} else if n <= 99 {
"Great"
} else {
"Perfect"
};
println!("{}", ans);
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - テスト評価 |
| User | bouzuya |
| Language | Rust (1.42.0) |
| Score | 100 |
| Code Size | 257 Byte |
| Status | AC |
| Exec Time | 6 ms |
| Memory | 2096 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example_0.txt, example_1.txt, example_2.txt, example_3.txt |
| All | example_0.txt, example_1.txt, example_2.txt, example_3.txt, handmade_0.txt, handmade_1.txt, handmade_2.txt, handmade_3.txt, handmade_4.txt, handmade_5.txt, random_0.txt, random_1.txt, random_2.txt, random_3.txt, random_4.txt, example_0.txt, example_1.txt, example_2.txt, example_3.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example_0.txt | AC | 6 ms | 1968 KiB |
| example_1.txt | AC | 1 ms | 2036 KiB |
| example_2.txt | AC | 4 ms | 1968 KiB |
| example_3.txt | AC | 1 ms | 2032 KiB |
| handmade_0.txt | AC | 1 ms | 2080 KiB |
| handmade_1.txt | AC | 2 ms | 2080 KiB |
| handmade_2.txt | AC | 2 ms | 2044 KiB |
| handmade_3.txt | AC | 1 ms | 1996 KiB |
| handmade_4.txt | AC | 1 ms | 1940 KiB |
| handmade_5.txt | AC | 2 ms | 1944 KiB |
| random_0.txt | AC | 1 ms | 2096 KiB |
| random_1.txt | AC | 2 ms | 2092 KiB |
| random_2.txt | AC | 1 ms | 2028 KiB |
| random_3.txt | AC | 2 ms | 2008 KiB |
| random_4.txt | AC | 1 ms | 1888 KiB |