結果
問題 | No.2306 [Cherry 5th Tune C] ウソツキタマシイ |
ユーザー |
|
提出日時 | 2024-08-01 09:32:43 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 209 bytes |
コンパイル時間 | 365 ms |
コンパイル使用メモリ | 82,364 KB |
実行使用メモリ | 92,012 KB |
最終ジャッジ日時 | 2024-08-01 09:32:48 |
合計ジャッジ時間 | 5,313 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 7 TLE * 1 -- * 22 |
ソースコード
n, m = map(int, input().split())A = list(map(int, input().split()))q = int(input())for i in range(q):c, k, d = map(int, input().split())A[c-1] -= kA[d-1] += kprint(sum(a**2 for a in A))