diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2020-02-17 20:29:47 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2020-02-17 20:29:47 +0700 |
commit | 1f9cdd4cce664439625f13da1baf894190b7e9a6 (patch) | |
tree | 2d1af656692ece87c83c4f57196b5f3825d475b7 /codechef/snug-fit.py | |
parent | 82e6cf7d1046d6cee16f7e8b044ec33e7ec6c4b7 (diff) | |
download | cp-1f9cdd4cce664439625f13da1baf894190b7e9a6.tar.gz |
Thank you Corona for giving me some time to do this
Diffstat (limited to 'codechef/snug-fit.py')
-rwxr-xr-x | codechef/snug-fit.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/codechef/snug-fit.py b/codechef/snug-fit.py new file mode 100755 index 0000000..58e1700 --- /dev/null +++ b/codechef/snug-fit.py @@ -0,0 +1,5 @@ +#!/usr/bin/env python +for t in range(int(input())): + input() + print(sum(map(min, sorted(map(int, input().split())), + sorted(map(int, input().split()))))) |