Submission #1028360


Source Code Expand

<?php
fscanf(STDIN, "%d %d %d", $n, $a, $b);
$ret = 0;
if($n < ($a + $b))$ret = $a + $b - $n;
print("$ret\n");
?>

Submission Info

Submission Time
Task A - 動画検索
User aitti
Language PHP (5.6.30)
Score 100
Code Size 120 Byte
Status AC
Exec Time 17 ms
Memory 3576 KiB

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 sample_01.txt, sample_02.txt, sample_03.txt, hand_01.txt, hand_02.txt, hand_03.txt, random_01.txt, random_02.txt, random_03.txt
Case Name Status Exec Time Memory
hand_01.txt AC 17 ms 3576 KiB
hand_02.txt AC 16 ms 3452 KiB
hand_03.txt AC 16 ms 3452 KiB
random_01.txt AC 16 ms 3452 KiB
random_02.txt AC 16 ms 3452 KiB
random_03.txt AC 16 ms 3452 KiB
sample_01.txt AC 16 ms 3452 KiB
sample_02.txt AC 16 ms 3452 KiB
sample_03.txt AC 16 ms 3452 KiB