結果
| 問題 |
No.24 数当てゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-15 14:23:05 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 355 bytes |
| コンパイル時間 | 79 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-06-22 01:42:57 |
| 合計ジャッジ時間 | 811 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 10 |
ソースコード
def main():
N = int(input())
yes = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]
no = []
for i in range(N):
s = input()
if s[8] == 'N':
no += list(map(int, s[0:7].split(' ')))
else:
yes += list(map(int, s[0:7].split(' ')))
print((set(yes) - set(no))[0])
if __name__ == '__name__':
main()