Submission #49979116


Source Code Expand

Copy
S = input()
if S == S[0].upper()+S[1:].lower():
print("Yes")
else:
print("No")
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
S = input()
if S == S[0].upper()+S[1:].lower():
    print("Yes")
else:
    print("No")

Submission Info

Submission Time
Task A - Capitalized?
User KoyanagiHitoshi
Language Python (CPython 3.11.4)
Score 100
Code Size 90 Byte
Status AC
Exec Time 9 ms
Memory 8672 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 4
AC × 19
Set Name Test Cases
Sample 01-sample.txt, 02-sample.txt, 03-sample.txt, 04-sample.txt
All 01-sample.txt, 02-sample.txt, 03-sample.txt, 04-sample.txt, 05-hidden.txt, 06-hidden.txt, 07-hidden.txt, 08-hidden.txt, 09-hidden.txt, 10-hidden.txt, 11-hidden.txt, 12-hidden.txt, 13-hidden.txt, 14-hidden.txt, 15-hidden.txt, 16-hidden.txt, 17-hidden.txt, 18-hidden.txt, 19-hidden.txt
Case Name Status Exec Time Memory
01-sample.txt AC 9 ms 8556 KB
02-sample.txt AC 9 ms 8532 KB
03-sample.txt AC 9 ms 8596 KB
04-sample.txt AC 9 ms 8632 KB
05-hidden.txt AC 9 ms 8500 KB
06-hidden.txt AC 9 ms 8468 KB
07-hidden.txt AC 9 ms 8572 KB
08-hidden.txt AC 8 ms 8520 KB
09-hidden.txt AC 8 ms 8672 KB
10-hidden.txt AC 8 ms 8476 KB
11-hidden.txt AC 9 ms 8536 KB
12-hidden.txt AC 9 ms 8484 KB
13-hidden.txt AC 9 ms 8620 KB
14-hidden.txt AC 9 ms 8500 KB
15-hidden.txt AC 9 ms 8492 KB
16-hidden.txt AC 9 ms 8536 KB
17-hidden.txt AC 9 ms 8524 KB
18-hidden.txt AC 9 ms 8520 KB
19-hidden.txt AC 8 ms 8668 KB


2025-04-06 (Sun)
02:11:05 +00:00