Submission #966820


Source Code Expand

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ddcc2016Qual
{
    public class A
    {
        private void Run()
        {
            var input = Console.ReadLine().Trim().Split();
            var A = double.Parse(input[0]);
            var B = double.Parse(input[1]);
            var C = double.Parse(input[2]);
            Console.WriteLine(C / A * B);
        }

        public static void Main()
        {
            var old = Console.Out;
            using (var writer = new System.IO.StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false })
            {
                Console.SetOut(writer);
                new A().Run();
                Console.Out.Flush();
                Console.SetOut(old);
            }
        }
    }
}

Submission Info

Submission Time
Task A - SDカード
User Tan90909090
Language C# (Mono 4.6.2.0)
Score 100
Code Size 831 Byte
Status AC
Exec Time 20 ms
Memory 2776 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 10
Set Name Test Cases
Sample 00_example_01.txt, 00_example_02.txt
All 00_example_01.txt, 00_example_02.txt, 10_rand_01.txt, 10_rand_02.txt, 10_rand_03.txt, 10_rand_04.txt, 10_rand_05.txt, 10_rand_06.txt, 20_hand_01.txt, 20_hand_02.txt
Case Name Status Exec Time Memory
00_example_01.txt AC 20 ms 2776 KB
00_example_02.txt AC 18 ms 2648 KB
10_rand_01.txt AC 19 ms 2648 KB
10_rand_02.txt AC 19 ms 2648 KB
10_rand_03.txt AC 18 ms 2648 KB
10_rand_04.txt AC 18 ms 2648 KB
10_rand_05.txt AC 18 ms 2648 KB
10_rand_06.txt AC 18 ms 2648 KB
20_hand_01.txt AC 18 ms 2648 KB
20_hand_02.txt AC 19 ms 2648 KB