Submission #19723305


Source Code Expand

Copy
import numpy as np
H, W = map(int, input().split())
A = [list(map(int, input().split())) for _ in range(H)]
A = np.array(A)
print(np.sum(A-np.min(A)))

Submission Info

Submission Time
Task B - Blocks on Grid
User smn7
Language Python (3.8.2)
Score 200
Code Size 154 Byte
Status AC
Exec Time 126 ms
Memory 27500 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 14
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_11.txt, random_12.txt, random_13.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
random_01.txt AC 126 ms 27320 KB
random_02.txt AC 111 ms 27004 KB
random_03.txt AC 114 ms 27032 KB
random_04.txt AC 115 ms 26728 KB
random_05.txt AC 113 ms 26988 KB
random_06.txt AC 116 ms 27028 KB
random_07.txt AC 115 ms 27280 KB
random_08.txt AC 113 ms 27092 KB
random_11.txt AC 113 ms 27100 KB
random_12.txt AC 118 ms 27408 KB
random_13.txt AC 117 ms 27500 KB
sample_01.txt AC 112 ms 27080 KB
sample_02.txt AC 112 ms 27312 KB
sample_03.txt AC 112 ms 27024 KB