回答編集履歴

1

同じsetならupdateしない

2019/12/18 09:18

投稿

shiracamus
shiracamus

スコア5406

test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  for c in v:
28
28
 
29
- if c in d:
29
+ if c in d and s != d[c]:
30
30
 
31
31
  s.update(d[c])
32
32