Submission #15412462


Source Code Expand

Copy
use proconio::input;

fn main() {
    input! {
        x: i64
    };
    let ans = if x < 600 {
        8
    } else if x < 800 {
        7
    } else if x < 1000 {
        6
    } else if x < 1200 {
        5
    } else if x < 1400 {
        4
    } else if x < 1600 {
        3
    } else if x < 1800 {
        2
    } else {
        1
    };
    println!("{}", ans);
}

Submission Info

Submission Time
Task A - Kyu in AtCoder
User bouzuya
Language Rust (1.42.0)
Score 100
Code Size 372 Byte
Status
Exec Time 8 ms
Memory 2124 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt
All 100 / 100 in01.txt, in02.txt, in03.txt, in04.txt, in05.txt, in06.txt, in07.txt, in08.txt, in09.txt, in10.txt, in11.txt, in12.txt, in13.txt, in14.txt, in15.txt, in16.txt, in17.txt, in18.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
in01.txt 8 ms 2004 KB
in02.txt 1 ms 2024 KB
in03.txt 1 ms 2124 KB
in04.txt 2 ms 1896 KB
in05.txt 2 ms 2036 KB
in06.txt 1 ms 2068 KB
in07.txt 1 ms 2036 KB
in08.txt 2 ms 1964 KB
in09.txt 3 ms 1948 KB
in10.txt 1 ms 2044 KB
in11.txt 1 ms 2112 KB
in12.txt 2 ms 2112 KB
in13.txt 1 ms 2032 KB
in14.txt 1 ms 2012 KB
in15.txt 1 ms 1976 KB
in16.txt 2 ms 2040 KB
in17.txt 1 ms 2016 KB
in18.txt 3 ms 2076 KB
sample_01.txt 2 ms 1976 KB
sample_02.txt 4 ms 2084 KB