Submission #58186197


Source Code Expand

n = int(input())
a = list(map(int, input().split()))
b = list(map(int, input().split()))

print(max(a) + max(b))

Submission Info

Submission Time
Task C - Max Ai+Bj
User permut
Language Python (CPython 3.11.4)
Score 250
Code Size 118 Byte
Status AC
Exec Time 179 ms
Memory 91732 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 250 / 250
Status
AC × 2
AC × 22
Set Name Test Cases
Sample 00_sample_01.txt, 00_sample_02.txt
All 00_sample_01.txt, 00_sample_02.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt, 01_random_11.txt, 01_random_12.txt, 01_random_13.txt, 01_random_14.txt, 01_random_15.txt, 02_handmade_01.txt, 02_handmade_02.txt, 02_handmade_03.txt, 02_handmade_04.txt, 02_handmade_05.txt
Case Name Status Exec Time Memory
00_sample_01.txt AC 9 ms 8436 KiB
00_sample_02.txt AC 9 ms 8464 KiB
01_random_01.txt AC 165 ms 80368 KiB
01_random_02.txt AC 174 ms 85624 KiB
01_random_03.txt AC 57 ms 31316 KiB
01_random_04.txt AC 179 ms 84352 KiB
01_random_05.txt AC 66 ms 34776 KiB
01_random_06.txt AC 179 ms 84428 KiB
01_random_07.txt AC 74 ms 38464 KiB
01_random_08.txt AC 179 ms 84428 KiB
01_random_09.txt AC 138 ms 68996 KiB
01_random_10.txt AC 179 ms 84344 KiB
01_random_11.txt AC 160 ms 78112 KiB
01_random_12.txt AC 177 ms 85496 KiB
01_random_13.txt AC 117 ms 59224 KiB
01_random_14.txt AC 179 ms 84440 KiB
01_random_15.txt AC 100 ms 50124 KiB
02_handmade_01.txt AC 9 ms 8440 KiB
02_handmade_02.txt AC 167 ms 91732 KiB
02_handmade_03.txt AC 167 ms 87008 KiB
02_handmade_04.txt AC 163 ms 85148 KiB
02_handmade_05.txt AC 167 ms 91624 KiB