結果
| 問題 | No.1338 Giant Class |
| コンテスト | |
| ユーザー |
timi
|
| 提出日時 | 2021-01-26 13:54:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 153 bytes |
| 記録 | |
| コンパイル時間 | 240 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 819,388 KB |
| 最終ジャッジ日時 | 2024-06-23 13:34:41 |
| 合計ジャッジ時間 | 9,438 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 11 RE * 1 MLE * 2 -- * 7 |
ソースコード
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