結果
| 問題 | No.1338 Giant Class |
| コンテスト | |
| ユーザー |
timi
|
| 提出日時 | 2021-01-26 13:54:48 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 153 bytes |
| 記録 | |
| コンパイル時間 | 305 ms |
| コンパイル使用メモリ | 21,412 KB |
| 実行使用メモリ | 1,310,584 KB |
| 最終ジャッジ日時 | 2026-07-27 22:22:31 |
| 合計ジャッジ時間 | 8,974 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 11 RE * 1 MLE * 3 -- * 6 |
ソースコード
H,W,Q=map(int, input().split())
D=[H+1]*W
d=H*W
for i in range(Q):
y,x=map(int, input().split())
if D[x-1]>y:
d-=D[x-1]-y
D[x-1]=y
print(d)
timi