Submission #6801939


Source Code Expand

Copy
<?php
fscanf(STDIN, '%d %d', $a, $b);

echo max($a+$b, $a-$b, $a*$b).PHP_EOL;

Submission Info

Submission Time
Task A - +-x
User hideyuk1
Language PHP7 (7.0.15)
Score 100
Code Size 80 Byte
Status
Exec Time 10 ms
Memory 4728 KB

Test Cases

Set Name Score / Max Score Test Cases
All 100 / 100 sample_01, sample_02, sample_03, testcase_0, testcase_1, testcase_2, testcase_3, testcase_4, testcase_5, testcase_6, testcase_7, testcase_8
Sample 0 / 0 sample_01, sample_02, sample_03
Case Name Status Exec Time Memory
sample_01 10 ms 4728 KB
sample_02 9 ms 4604 KB
sample_03 9 ms 4604 KB
testcase_0 9 ms 4604 KB
testcase_1 9 ms 4604 KB
testcase_2 9 ms 4604 KB
testcase_3 9 ms 4604 KB
testcase_4 9 ms 4604 KB
testcase_5 9 ms 4604 KB
testcase_6 9 ms 4604 KB
testcase_7 9 ms 4604 KB
testcase_8 9 ms 4604 KB