Submission #18864961


Source Code Expand

import numpy as np

H, W = map(int, input().split())
A = np.array([list(map(int, input().split())) for _ in range(H)])

print(A.sum() - A.min() * H * W)

Submission Info

Submission Time
Task B - Blocks on Grid
User noyan
Language Python (3.8.2)
Score 200
Code Size 159 Byte
Status AC
Exec Time 120 ms
Memory 27292 KiB

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 120 ms 27144 KiB
random_02.txt AC 107 ms 27012 KiB
random_03.txt AC 108 ms 26680 KiB
random_04.txt AC 107 ms 27040 KiB
random_05.txt AC 108 ms 26960 KiB
random_06.txt AC 106 ms 27052 KiB
random_07.txt AC 109 ms 27036 KiB
random_08.txt AC 108 ms 27068 KiB
random_11.txt AC 111 ms 27176 KiB
random_12.txt AC 110 ms 27292 KiB
random_13.txt AC 108 ms 27220 KiB
sample_01.txt AC 107 ms 27044 KiB
sample_02.txt AC 107 ms 27096 KiB
sample_03.txt AC 105 ms 26772 KiB