Submission #19558547


Source Code Expand

Copy
use proconio::{input};

fn main() {
    input! {
        a: i32,
        b: i32,
        c: i32,
        d: i32,
    }
    println!("{}", (a * d) - (b * c));
}

Submission Info

Submission Time
Task A - Determinant
User naotor
Language Rust (1.42.0)
Score 100
Code Size 160 Byte
Status AC
Exec Time 7 ms
Memory 2144 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 9
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, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
random_01.txt AC 7 ms 2144 KB
random_02.txt AC 4 ms 1904 KB
random_03.txt AC 2 ms 2036 KB
random_04.txt AC 2 ms 2140 KB
random_05.txt AC 4 ms 2024 KB
random_06.txt AC 3 ms 2000 KB
sample_01.txt AC 1 ms 2136 KB
sample_02.txt AC 2 ms 2004 KB
sample_03.txt AC 2 ms 2032 KB