Submission #967109


Source Code Expand

Copy
<?php
/*
    http://ddcc2016-qual.contest.atcoder.jp/tasks/ddcc_2016_qual_a

    Score  :
    Result :
    Time   : ms
    Memory : KB
 */

// define('DEBUG', true);
define('DEBUG', false);

fscanf(STDIN, "%d %d %d", $A, $B, $C);

// echo "{$N} {$x}\n";
// exit;

printf("%.f", $C / $A * $B);
echo PHP_EOL;

Submission Info

Submission Time
Task A - SDカード
User takepan
Language PHP7 (7.0.15)
Score 100
Code Size 327 Byte
Status
Exec Time 17 ms
Memory 2936 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 00_example_01.txt, 00_example_02.txt
All 100 / 100 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 17 ms 2936 KB
00_example_02.txt 15 ms 2812 KB
10_rand_01.txt 15 ms 2812 KB
10_rand_02.txt 15 ms 2812 KB
10_rand_03.txt 15 ms 2812 KB
10_rand_04.txt 15 ms 2812 KB
10_rand_05.txt 15 ms 2812 KB
10_rand_06.txt 15 ms 2812 KB
20_hand_01.txt 15 ms 2812 KB
20_hand_02.txt 16 ms 2812 KB