Submission #17379534


Source Code Expand

<?php

$a = trim(fgets(STDIN));

echo $a.(substr($a, -1) === 's' ? 'es' : 's');

Submission Info

Submission Time
Task A - Plural Form
User iBotchME
Language PHP (7.4.4)
Score 100
Code Size 85 Byte
Status AC
Exec Time 20 ms
Memory 16132 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 15
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All hand_01.txt, hand_02.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
hand_01.txt AC 18 ms 16104 KiB
hand_02.txt AC 18 ms 15880 KiB
random_01.txt AC 16 ms 15868 KiB
random_02.txt AC 17 ms 15988 KiB
random_03.txt AC 19 ms 15852 KiB
random_04.txt AC 19 ms 16132 KiB
random_05.txt AC 19 ms 15844 KiB
random_06.txt AC 17 ms 15868 KiB
random_07.txt AC 17 ms 15816 KiB
random_08.txt AC 17 ms 15944 KiB
random_09.txt AC 20 ms 15952 KiB
random_10.txt AC 18 ms 15804 KiB
sample_01.txt AC 19 ms 16044 KiB
sample_02.txt AC 19 ms 15812 KiB
sample_03.txt AC 15 ms 15924 KiB