Submission #75053475


Source Code Expand

nums = input().split()
N = int(nums[0])
M = int(nums[1])
F = input().split()
cloth = []
q1 = "Yes"
q2 = "Yes"
for i in F:
  if i in cloth:
    q1 = "No"
  cloth.append(i)
for i in range(1, M+1):
  if str(i) not in cloth:
    q2 = "No"
print(q1)
print(q2)

Submission Info

Submission Time
Task B - Mapping
User chikaraispower
Language Python (CPython 3.13.7)
Score 200
Code Size 269 Byte
Status AC
Exec Time 10 ms
Memory 9264 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 4
AC × 19
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 01_random_1_00.txt, 01_random_1_01.txt, 01_random_1_02.txt, 02_random_2_00.txt, 02_random_2_01.txt, 02_random_2_02.txt, 03_random_3_00.txt, 03_random_3_01.txt, 03_random_3_02.txt, 04_random_4_00.txt, 04_random_4_01.txt, 04_random_4_02.txt, 04_random_4_03.txt, 04_random_4_04.txt, 04_random_4_05.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 10 ms 9048 KiB
00_sample_01.txt AC 10 ms 9192 KiB
00_sample_02.txt AC 10 ms 9264 KiB
00_sample_03.txt AC 10 ms 9220 KiB
01_random_1_00.txt AC 9 ms 9112 KiB
01_random_1_01.txt AC 10 ms 9148 KiB
01_random_1_02.txt AC 10 ms 9112 KiB
02_random_2_00.txt AC 10 ms 9192 KiB
02_random_2_01.txt AC 10 ms 9184 KiB
02_random_2_02.txt AC 9 ms 9224 KiB
03_random_3_00.txt AC 9 ms 9012 KiB
03_random_3_01.txt AC 9 ms 9164 KiB
03_random_3_02.txt AC 10 ms 9128 KiB
04_random_4_00.txt AC 10 ms 9048 KiB
04_random_4_01.txt AC 9 ms 9148 KiB
04_random_4_02.txt AC 10 ms 9112 KiB
04_random_4_03.txt AC 10 ms 9068 KiB
04_random_4_04.txt AC 10 ms 9128 KiB
04_random_4_05.txt AC 10 ms 9224 KiB