Submission #19219259


Source Code Expand

Copy
use proconio::input;

fn main() {
    input! {
        a: usize,
    };
    let ans = 7 - a;
    println!("{}", ans);
}

Submission Info

Submission Time
Task A - サイコロ
User bouzuya
Language Rust (1.42.0)
Score 100
Code Size 120 Byte
Status AC
Exec Time 10 ms
Memory 2076 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 6
Set Name Test Cases
All 1.txt, 2.txt, 3.txt, 4.txt, 5.txt, 6.txt
Case Name Status Exec Time Memory
1.txt AC 10 ms 2068 KB
2.txt AC 1 ms 1980 KB
3.txt AC 2 ms 2076 KB
4.txt AC 2 ms 1964 KB
5.txt AC 2 ms 2052 KB
6.txt AC 1 ms 2004 KB