提出 #49695839


ソースコード 拡げる

A=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
S=list(input())
x=0
if S[0] not in A:
  x=1
for i in range(1,len(S)):
  if S[i] in A:
    x=1
if x==0:
  print("Yes")
else:
  print("No")

提出情報

提出日時
問題 A - Capitalized?
ユーザ mymrt_23367
言語 Python (CPython 3.11.4)
得点 100
コード長 256 Byte
結果 AC
実行時間 10 ms
メモリ 8668 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 4
AC × 19
セット名 テストケース
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
ケース名 結果 実行時間 メモリ
01-sample.txt AC 9 ms 8488 KiB
02-sample.txt AC 10 ms 8640 KiB
03-sample.txt AC 9 ms 8508 KiB
04-sample.txt AC 10 ms 8668 KiB
05-hidden.txt AC 9 ms 8496 KiB
06-hidden.txt AC 10 ms 8564 KiB
07-hidden.txt AC 9 ms 8492 KiB
08-hidden.txt AC 10 ms 8584 KiB
09-hidden.txt AC 9 ms 8528 KiB
10-hidden.txt AC 9 ms 8484 KiB
11-hidden.txt AC 9 ms 8588 KiB
12-hidden.txt AC 9 ms 8580 KiB
13-hidden.txt AC 9 ms 8448 KiB
14-hidden.txt AC 9 ms 8648 KiB
15-hidden.txt AC 9 ms 8496 KiB
16-hidden.txt AC 9 ms 8516 KiB
17-hidden.txt AC 9 ms 8472 KiB
18-hidden.txt AC 9 ms 8444 KiB
19-hidden.txt AC 9 ms 8540 KiB