A new kind of ransomware written in Python has upped the encryption game by using a unique key for every file it encrypts on a victim's machine, researchers have warned. The ransomware, dubbed CryPy, ...
# 入力 N, A, B = map(int, input().split()) C = list(map(int, input().split())) # 選択肢があっていれば、選択肢の番号を出力する。 for i in range(N): if C[i] == A+B: print(i+1) 選択肢を順番に見ていき、A+Bと一致すれば選択肢の番号を出力する。