Submission #19558316


Source Code Expand

Copy
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication10
{
    class Program
    {
        static void Main(string[] args)
        {
            var w = Console.ReadLine().Split(' ');
            var v = Console.ReadLine().Split(' ');
            int a = int.Parse(w[0]);
            int b = int.Parse(w[1]);
            int c = int.Parse(v[0]);
            int d = int.Parse(v[1]);

            int n = a * d - b * c;
            Console.WriteLine(n);
            //Console.ReadKey();
        }
    }
}

Submission Info

Submission Time
Task A - Determinant
User coward96
Language C# (.NET Core 3.1.201)
Score 100
Code Size 620 Byte
Status AC
Exec Time 87 ms
Memory 27456 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 82 ms 26968 KB
random_02.txt AC 72 ms 27124 KB
random_03.txt AC 86 ms 27360 KB
random_04.txt AC 80 ms 26976 KB
random_05.txt AC 84 ms 27108 KB
random_06.txt AC 77 ms 27352 KB
sample_01.txt AC 87 ms 27456 KB
sample_02.txt AC 87 ms 26992 KB
sample_03.txt AC 82 ms 27148 KB